The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Error while rejecting issue through API

ssubramani_3pc
Contributor
January 19, 2022

Hi All,

 

I am trying to reject issue through api but i getting error message

Error Getting:

   {"resolution":"The selected resolution cannot be chosen during this action."}

Code used:

  

updatedict3={"resolution":
{
"id": "10200"
},
"customfield_12135": "For Testing" #resolution comment
}
self.jira.transition_issue(jiraid, transition="101",fields=updatedict3)

 

Any one please help me for this 

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

3 votes
Answer accepted
ssubramani_3pc
Contributor
January 20, 2022

It is working

{
# "id": "10200",
"name":"Cannot Reproduce"
}

 after i changed it from ID to Name 

TAGS
AUG Leaders

Atlassian Community Events