Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

AVAILABLE SINCE 5.2.1

To improve readability, all JSON results will be beautified, whereas the actual results will not.

Request URI

The base request URI for all APIs on this page is as follows:

http://{JIRA Instance Name}/rest/com.okapya.jira.checklist/latest/checklists/

APIs

Get all checklist custom field configuration contexts

GET [...]/configuration

Description

Example

Path parameters

  • projectId - Will filter out the results to only show the contexts that apply to the specified project ID.

  • proxiesOnly - Will filter out the results to only include Checklist Proxy custom fields.

  • checklistsOnly - Will filter out the results to only include Checklist custom fields.

When a project ID is used, the current user only needs the Administer Project permissions on that project.

Using both the proxiesOnly and checklistsOnly parameters will default to only show the Checklist custom fields.

/123/configuration?projectId=234

/123/configuration?checklistsOnly

/123/configuration?checklistsOnly&projectId=234

Response

Returns the full JSON array representation of the custom field configuration contexts.

[
  {
    "id": 101,
    "customFieldId": 10001,
    "name": "Default Configuration Scheme for DoD",
    "customFieldName": "DoD",
    "projectIds": [],
    "issueTypeIds": []
  },
  {
    "id": 102,
    "customFieldId": 10001,
    "name": "Main project configuration",
    "customFieldName": "DoD",
    "projectIds": [
      1001,
      1002,
      1003
    ],
    "issueTypeIds": []
  },
  {
    "id": 103,
    "customFieldId": 10002,
    "name": "Default Configuration Scheme for AC",
    "customFieldName": "AC",
    "projectIds": [
      1004
    ],
    "issueTypeIds": [
      "10000",
      "1"
    ]
  }
]

Get a checklist custom field’s configuration contexts

GET [...]/{customFieldId}/configuration

Description

Example

Response

Returns the full JSON array representation of the specified field’s configuration contexts.

[
  {
    "id": 101,
    "customFieldId": 10001,
    "name": "Default Configuration Scheme for DoD",
    "customFieldName": "DoD",
    "projectIds": [],
    "issueTypeIds": []
  },
  {
    "id": 102,
    "customFieldId": 10001,
    "name": "Main project configuration",
    "customFieldName": "DoD",
    "projectIds": [
      1001,
      1002,
      1003
    ],
    "issueTypeIds": []
  }
]

Exceptions

For the list of potential exceptions, see Exceptions for configuration REST APIs.


SERVER DOCUMENTATION (On Cloud? Go here.)
Have questions? Contact our Service Desk for help anytime.
  • No labels