Status and resolution are two different things.
Resolution is a field you can set using REST to set a field, as per documentation. Status is an indicator of where an issue is in its workflow, it changes when you push issues through transitions, which you can do as per the REST documentation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the input json should be like this
{ "update": { "comment": [ { "add": { "body": "Bug has been fixed." } } ] }, "fields": { "assignee": { "name": "bob" }, "resolution": { "name": "Fixed" } }, "transition": { "id": "5" } }
check this doc
https://docs.atlassian.com/jira/REST/latest/#d2e1497
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nic Brough,
While am updating status using follwing json format..
string status = @"{
""update"":{
""transition"" :[{""id"":""5""}]
}
}";
but am getting below error
{"errorMessages":[],"errors":{"transition":"Field 'transition' cannot be set. It is not on the appropriate screen, or unknown."}}
Please let me know where am doing wrong
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.