We have a Sub-Task workflow that has a "Re-Open" step that would allow a user to re-open that sub-task - but we want to prevent it if the Parent task is "Closed".
I have used the following JQL query:
"((issueFunction in parentsOf("issuetype in subTaskIssueTypes() And status not in (closed)")) OR (issuetype not in subTaskIssueTypes() and status not in (closed) AND!(issueFunction in hasSubtasks())))"
This seems to prevent the sub-task from being re-opened, even if the Parent task is not "Closed". What am I missing?
Hello,
Your JQL should be like this
issueFunction in subtasksOf("status not in (closed)")
Thanks Alexey!! Your uncomplicated script took care of it easily!! :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are welcome!:)
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.