Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Status
titleAvailable sincE 5.2.0

Note

You need administrator rights in Jira to configure checklists using REST APIs.

REST APIs provide numerous advantages. Most notably, they:

  • Enable administrators to implement Configuration as Code, which makes it possible to migrate configurations while backed by a version control system.

  • Provide a quick way to generalize configurations across multiple custom field contexts, without risk of human error.

  • Help propagate new feature configurations.

Base configuration path

The Checklist and Proxy custom fields, like other custom fields, are defined by their field configuration. The field configuration ID is required to configure checklists using REST APIs.

The base configuration path is as follows:

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

Expand
titleExample
Code Block
http://myJiraInstance/rest/com.okapya.jira.checklist/latest/checklists/configuration/123

Finding the field configuration ID

Through the View Custom Field Contexts page

Status
titleavailable since 5.2.1

We’ve designed a page where you can easily view all the IDs of Checklist custom fields and their contexts.

See Viewing custom field and context information for more information.

Through our configuration context REST API

Status
titleavailable since 5.2.1

We’ve added new endpoints to provide custom field context IDs.

See Searching for field contexts using REST APIs for more information.

Through the database

Note

Depending on your access rights, this method may be unavailable.

You can query the FIELDCONFIGURATION table and use the value in the ID column.

Through the custom field configuration UI

You can find the field configuration ID inside the configuration links on your custom field’s configuration page. The configuration links are the links inside each configuration scheme context, such as the Edit Global Items or Edit Default Local Items links. To do so:

  1. Copy the address of one of the links and paste it into a text document.


    You should end up with an address like this:

    Code Block
    http://myJiraInstance/secure/admin/ConfigureChecklist!default.jspa?atl_token=BWP3-NZB2-6EDY-6C7K_2dcf614c55a799071c0b4399be69443da54894a4_lin&fieldConfigSchemeId=10501&fieldConfigId=10501&returnUrl=ConfigureCustomField%21default.jspa%3FfieldId%3Dcustomfield_10301

  2. Search for the fieldConfigId keyword in the address. The value after the equals sign is the field configuration ID (in this case, 10501).


Status
titleSERVER documentation
(On Cloud? Go here.)
Have questions? Contact our Service Desk for help anytime.