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

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 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events