Forums

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

Jira Automation Plugin - The selected resolution is invalid

William Wynn
Contributor
February 2, 2016

We have setup Automation rules to automatically close issues after 30 days of activity. The rules don't work because every time they run they report the error, "The selected resolution is invalid."

Despite this message, we have triple checked that the resolution we set is valid and that the specific transition being used by the automation rule has the resoluton as a required field (because it's the Close transition).

In the "Transition fields" field we have set: resolution=Canceled

Screenshot of transition setup: image2016-2-2 10:52:37.png

Screenshot of error: image2016-2-2 10:52:17.png

1 answer

1 accepted

2 votes
Answer accepted
Matej K
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 3, 2016

Sorry for the confusion here: the Resolution (or any non-text field) expects the "id" of the resolution instead of the text. 

If you need to find the id of the resolution, it's quite easy: gg -> Resolutions. Click "Edit" for resolution you'd like to use, and the ID will be in the URL: http://localhost:2990/jira/secure/admin/EditResolution!default.jspa?id=1 (id=1)

Suggest an answer

Log in or Sign up to answer