$ curl -u xxx:lxxxx http://localhost:8080/rest/api/2/issue/10017/transitions | jq
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1089 0 1089 0 0 11585 0 --:--:-- --:--:-- --:--:-- 11585
{
"expand": "transitions",
"transitions": [
{
"id": "11",
"name": "To Do",
"to": {
"self": "http://localhost:8080/rest/api/2/status/10003",
"description": "",
"iconUrl": "http://localhost8080/",
"name": "To Do",
"id": "10003",
"statusCategory": {
"self": "http://localhost:8080/rest/api/2/statuscategory/2",
"id": 2,
"key": "new",
"colorName": "blue-gray",
"name": "To Do"
}
}
},
{
"id": "21",
"name": "In Progress",
"to": {
"self": "http://localhost:8080/rest/api/2/status/3",
"description": "This issue is being actively worked on at the moment by the assignee.",
"iconUrl": "http://localhost:8080/images/icons/statuses/inprogress.png",
"name": "In Progress",
"id": "3",
"statusCategory": {
"self": "http://localhost:8080/rest/api/2/statuscategory/4",
"id": 4,
"key": "indeterminate",
"colorName": "yellow",
"name": "In Progress"
}
}
},
{
"id": "31",
"name": "Done",
"to": {
"self": "http://localhost:8080/rest/api/2/status/10002",
"description": "",
"iconUrl": "http://localhost:8080/",
"name": "Done",
"id": "10002",
"statusCategory": {
"self": "http://localhost:8080/rest/api/2/statuscategory/3",
"id": 3,
"key": "done",
"colorName": "green",
"name": "Done"
}
}
}
]
}
Below has the * Mark bundle as not supporting multiuse
Anyway, the transition was OK. I could see my issue sent to In-Progress status
$ curl -u xxxx:xxxx-X POST --data '{"transition":{"id":"21"}}' -H "Content-Type: application/json" http://localhost:8080/rest/api/2/issue/10017/transitions -v
Note: Unnecessary use of -X or --request, POST is already inferred.
* Trying localhost:8080...
* TCP_NODELAY set
* Connected to localhost (localhost) port 8080 (#0)
* Server auth using Basic with user 'xxxx'
> POST /rest/api/2/issue/10017/transitions HTTP/1.1
> Host: localhost:8080
> Authorization: Basic ZXJtZWxpZTpsaXZlOHdpcmUh
> User-Agent: curl/7.67.0
> Accept: */*
> Content-Type: application/json
> Content-Length: 26
>
* upload completely sent off: 26 out of 26 bytes
* Mark bundle as not supporting multiuse
< HTTP/1.1 204
< X-AREQUESTID: 1013x1132x1
< X-XSS-Protection: 1; mode=block
< X-Content-Type-Options: nosniff
< X-Frame-Options: SAMEORIGIN
< Content-Security-Policy: frame-ancestors 'self'
< X-ASEN: SEN-L14933446
< Set-Cookie: JSESSIONID=F61229DEB7AD321C009D59F41B421D88; Path=/; HttpOnly
< X-Seraph-LoginReason: OK
< Set-Cookie: atlassian.xsrf.token=B0LS-QYRR-8BVT-WYAO_11d0066b743b8ce863bb6763f4b4818e484538ff_lin; Path=/
< X-ASESSIONID: eik31j
< X-AUSERNAME: xxxxxx
< Cache-Control: no-cache, no-store, no-transform
< Content-Type: application/json;charset=UTF-8
< Date: Mon, 03 Feb 2020 16:53:12 GMT
<
Hello @Ermelie Lising
Can you give some more context on this question?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.