Resources Setting Set Issue Setting
Set Issue Setting
Http Method
POST
End Point
/api/settings/issue
Request Body
Content Type
application/json
Example
{
"stateSpecs" : [ {
"name" : "string" ,
"description" : "string" ,
"color" : "string"
}
]
,
"transitionSpecs" : [ {
"fromStates" : [ "string" ] ,
"toState" : "string" ,
"trigger" : {
"@type" : "BranchUpdateTrigger" ,
"branches" : "string" ,
"issueQuery" : "string"
}
,
"removeFields" : [ "string" ]
}
]
,
"fieldSpecs" : [ {
"@type" : "BooleanField" ,
"defaultValueProvider" : {
"@type" : "FalseDefaultValue"
}
,
"nameOfEmptyValue" : "string" ,
"promptUponIssueOpen" : true ,
"applicableProjects" : "string" ,
"name" : "string" ,
"description" : "string" ,
"allowMultiple" : true ,
"allowEmpty" : true ,
"showCondition" : {
"inputName" : "string" ,
"valueMatcher" : {
"@type" : "ValueIsEmpty"
}
}
}
]
,
"boardSpecs" : [ {
"name" : "string" ,
"baseQuery" : "string" ,
"backlogBaseQuery" : "string" ,
"identifyField" : "string" ,
"columns" : [ "string" ] ,
"displayFields" : [ "string" ] ,
"displayLinks" : [ "string" ] ,
"editColumns" : [ "string" ]
}
]
,
"listFields" : [ "string" ] ,
"listLinks" : [ "string" ] ,
"namedQueries" : [ {
"name" : "string" ,
"query" : "string"
}
]
,
"issueTemplates" : [ {
"issueQuery" : "string" ,
"issueDescription" : "string"
}
]
,
"reconciled" : true
}
Response
Operation Successful
Status Code
200
Response Body
No response body if successful; error
Operation Failed
Status code
Status code other than 200 indicating the error type
Response Body
Error detail of content type "text/plain"
cURL Example
$ curl -u <login name>:<password or access token> [email protected] -H "Content-Type: application/json" https://git.crazyhackgut.ru/api/settings/issue
Please wait...
Page is in error, reload to recover