Hi all,
I am making a research on the following:
Stories can't be moved to 'Done' or 'Cancelled' if there is an open Pull Request.
I recently found this and try to build an automation with some JQL but without success. The most strange thing is that if I put this as a Rule condition:
project = XX AND issuetype = Story AND status in ("Cancelled", "Done") and NOT development[pullrequests].open > 0, the story appears on JQL search but the rule is giving me the following:
"The following issues did not match the condition:
This may be due to any of the following reasons:
- the issue didn't match the specified JQL (most likely)
- the chosen rule actor doesn't have permissions (or issue security level permissions) to view the issue
- the issue was deleted or wasn't indexed by Jira yet (in rare circumstances)
We recommend using the 'Issue fields condition' for more consistent results."
Using Issue fields condition as its advised is not an option as the Development field is not in the list.
Can somebody share some thoughts, please?
Thanks all in advance!
EDIT: The JQL is working and the rule was a successful but it's not returning the issue to the previous status before it was moved to Done.