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" : [ {"branches" : "string" ,"toState" : "string" ,"fromStates" : [ "string" ] ,"issueQuery" : "string" ,"removeFields" : [ "string" ]"fieldSpecs" : [ {"nameOfEmptyValue" : "string" ,"promptUponIssueOpen" : true ,"applicableProjects" : "string" ,"name" : "string" ,"description" : "string" ,"allowMultiple" : true ,"allowEmpty" : true ,"boardSpecs" : [ {"name" : "string" ,"baseQuery" : "string" ,"backlogBaseQuery" : "string" ,"identifyField" : "string" ,"columns" : [ "string" ] ,"iterationPrefix" : "string" ,"displayFields" : [ "string" ] ,"displayLinks" : [ "string" ] ,"editColumns" : [ "string" ]"timeTrackingSetting" : {"hoursPerDay" : 1 ,"daysPerWeek" : 1 ,"aggregationLink" : "string""listFields" : [ "string" ] ,"listLinks" : [ "string" ] ,"namedQueries" : [ {"name" : "string" ,"query" : "string""issueTemplates" : [ {"issueQuery" : "string" ,"issueDescription" : "string""commitMessageFixPatterns" : {"entries" : [ {"prefix" : "string" ,"suffix" : "string""reconciled" : true
- Response
-
- Operation Successful
-
- Status Code
- 200
- Response Body
- No response body
- 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> -X POST [email protected] -H "Content-Type: application/json" https://git.codedune.app/~api/settings/issue