Versions Compared

Key

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

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

Info

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

This API lets you configure Checklist, Proxy and Customer Portal Proxy parameters based on what the provided field configuration ID is provided.

Request URI

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

Code Block
{JIRA Instance}/rest/com.okapya.jira.checklist/latest/checklists/configuration/{FieldConfigId}/parameters
Info

See https://okapya.atlassian.net/wiki/spaces/CHKDOC5/pages/2940666209/Configuring+checklists+using+REST+APIs#Base-configuration-path for more help with the Request URI.

APIs

Get parameters

Status
colourGreen
titleget
[...]/parameters

Response

Returns the full JSON representation of the requested parameters.

JSON examples

The following are full JSON examples of the different parameters with default values.

Checklist parameters

Code Block
languagejson
{
   "version":5,
   "discretionaryOptionIds":[],
   "statusCsv":"notApplicable, N/A, Default, Complete, Keep\r\ninProgress, In Progress, Current, Incomplete, Remove\r\nblocked, Blocked, Error, Incomplete, Remove",
   "showStatusMenu":false,
   "allowLocalItems":true,
   "allowMandatory":true,
   "lockOnResolution":true,
   "canConvertToIssue":true,
   "canBulkEdit":true,
   "canBulkComplete":true,
   "issueLinkType":null,
   "canAssignUsers":false,
   "canSetDueDate":false,
   "canSetPriority":false,
   "enableAdvancedMarkdown":false,
   "enableExternalAssetLinking":false,
   "enableHeaderItems":true,
   "enableHeaderItemCollapsing":true,
   "
collapseHeaderItemsByDefault
showHeaderItemSummaries":
false
true,
   "
showHeaderItemSummaries
collapseHeaderItemsByDefault":
true
false,
   "
showContactSupport
defaultMandatoryState":true,
   "showProgressHeaderInReadOnlyView":true,
   "showProgressHeaderInEditView":true,
   "strikeThrough":true,
   "showMore":false,
   "showMoreCount":0,
   "alwaysShowEmptyChecklist":true,
   "alwaysShowUncheckedChecklist":true,
   "hideUncheckedInReadonlyView":false,
   "issueViewDisplayMode":"CustomField" || "SidebarPanel" || "IndependentPanel",
   "summarySource":"AllItems" || "MandatoryItems",
   "bannerParameters":{
      "completedLabel":"",
      "allMandatoryLabel":"",
      "incompleteLabel":"",
      "emptyLabel":"",
      "type":"Progression",
      "appearance":"Normal"
   },
   "assigneeDisplay":"Avatar"
,
 || 
"
reporterCanEdit
Name"
:true,
 || "
allCanComplete
Initials"
:true,
 || "
limitEditionWithRoles
AvatarAndName"
:false,
 || 
"
editRoleIds":[ ]
AvatarAndInitials",
   "
canImportTemplateIntoChecklist
descriptionDisplay":
true, "canCreateTemplateFromChecklist":true, "createTemplateFromChecklistRoleIds":[ ]
"LinkUnderItem" || "TooltipNextToItem",
   "
validateGlobalItems
compactView":
true
false,
   "
cleverChangelog
reporterCanEdit":true,
   "
useConfluenceRenderer
allCanComplete":true
}

Update parameters

Status
colourYellow
titlePUT
[...]/parameters

 

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.

Code Block
{"showStatusMenu":true}

or

Code Block
languagejson
{"showStatusMenu":true, "allowLocalItems":false}

 

Response

Returns the full JSON representation of the updated parameters.

Code Block
languagejson
{

   "
version
limitEditionWithRoles":
5
false,
   "
discretionaryOptionIds
editRoleIds":[],
   "
statusCsv":"notApplicable, N/A, Default, Complete, Keep\r\ninProgress, In Progress, Current, Incomplete, Remove\r\nblocked, Blocked, Error, Incomplete, Remove", "showStatusMenu":false, "allowLocalItems":
canImportTemplateIntoChecklist":true,
   "
allowMandatory
canCreateTemplateFromChecklist":true,
   "
lockOnResolution
createTemplateFromChecklistRoleIds":
true
[],
   "
canConvertToIssue
useConfluenceRenderer":true
,

}

Checklist proxy parameters

Code Block
languagejson
{
  
"canAssignUsers":false,
 "
canSetDueDate
version":
false
5,
   "
canSetPriority
type":
false, "enableAdvancedMarkdown":false
"Banner",
   "
enableExternalAssetLinking
summarySource":
false, "enableHeaderItems":true, "enableHeaderItemCollapsing":true
"AllItems" || "MandatoryItems",
   "
collapseHeaderItemsByDefault
banner":
false,
{
   
"showHeaderItemSummaries":true,
   
"
showContactSupport
completedLabel":
true,
"
showProgressHeaderInReadOnlyView
"
:true
,
   
"showProgressHeaderInEditView":true,
   
"strikeThrough":true, "showMore":false, "showMoreCount":0, "alwaysShowEmptyChecklist":true,
"allMandatoryLabel":"",
      "
alwaysShowUncheckedChecklist":true, "issueViewDisplayMode
incompleteLabel":"
CustomField
",
   
"summarySource":"AllItems",
   
"
bannerParameters
emptyLabel":
{ "completedLabel
"
:
"
"
,
      "
allMandatoryLabel
type":"Progression",
      "
incompleteLabel
appearance":"Subtle",
      "
emptyLabel
prefix":"Checkbox",
      "
type
customPrefix":"
Progression
"
,

   
"appearance":"Normal"
},
   "
assigneeDisplay
progressBarParameters":
"Avatar"
null,
   "
reporterCanEdit
onlyShowUnchecked":
true,
false
}

Checklist proxy for customer portal parameters

Code Block
languagejson
{
  
"allCanComplete":true,
 
"
limitEditionWithRoles
version":
false
5,
   "
editRoleIds
proxiedFieldConfigId":
[ ]
null,
   "
canImportTemplateIntoChecklist
showOnCreateScreen":true,
   "
canCreateTemplateFromChecklist
showOnViewScreen":true
, "createTemplateFromChecklistRoleIds":[ ], "validateGlobalItems":true, "cleverChangelog":true, "useConfluenceRenderer":true }

}

APIs

Get parameters

Status
colourGreen
titleget
[...]/parameters

 

Description

Example

Response

Returns the full JSON representation of the requested parameters.

Update parameters

Status
colourYellow
titlePUT
[...]/parameters

 

Description

Example

Request

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

You only have to list the fields and values you want to update.

Code Block
{"showStatusMenu":true}

or

Code Block
languagejson
{"showStatusMenu":true, "allowLocalItems":false}

 

Response

Returns the full JSON representation of the updated parameters.

Exceptions

For the list of potential exceptions, see https://okapya.atlassian.net/wiki/spaces/CHKDOC5/pages/2940666327/Exceptions+for+configuration+REST+APIs#Parameter-exceptions.


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