Skip to main content
Skip table of contents

Editing app parameters using REST APIs

You need administrator rights in Jira to perform the tasks on this page.

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

This API lets you configure the global app parameters.

Request URI

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

CODE
{JIRA Instance}/rest/com.okapya.jira.checklist/latest/configuration

See Configuring checklists using REST APIs: Base configuration path for more help with the Request URI.

APIs

Get the parameters

GET

Description

Example

Response

Returns the full JSON array representation of the app parameters.

JSON
{
  "historyDateFormat": "yyyy-MM-dd HH:mm Z",
  "allowProjectAdminsToConfigure": false,
  "cleverChangelog": true,
  "validateGlobalItems": true,
  "showContactSupport": false,
  "allowIssueConversion": true,
  "showChecklistsInAgileDetailsView": true,
  "showProvideFeedback": true,
  "issuePanelViewWeight": 250,
  "issueSidePanelViewWeight": 50,
  "agileSidePanelViewWeight": 1000
}

Get the parameter examples

GET [...]/examples

You can query to get examples of values calculated from the current parameters and possible errors caused by the parameter values.

Description

Example

Request

You can optionally pass query parameters with alternate values to find out what the results would be, without having to save the new values right away.

[...]/examples?historyDateFormat=YYYY

Response

Returns the full JSON array representation of the app parameter examples.

The fieldsInError field indicates what fields have a bad configuration.

JSON
{
    "fieldsInError": [],
    "historyDateFormat": "2022"
}
JSON
// If requested with a bad date format
// [...]/examples?historyDateFormat=abcdef
{
   "fieldsInError":[
      "historyDateFormat"
   ]
}

Update the parameters

PUT

 

Description

Example

Request

A JSON representation of the fields to update, including their values.

To keep updating simple, you only have to list the fields and values you want to update.

JSON
{"historyDateFormat":"YYYY"}

or

JSON
{"allowProjectAdminsToConfigure":true}

 

Response

Returns the full JSON representation of the updated parameters.

JSON
{
  "historyDateFormat": "yyyy-MM-dd HH:mm Z",
  "allowProjectAdminsToConfigure": false
}

Exceptions

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

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.