The scenario is the following one: I have a parent issue with 2 subtasks (sub1 and sub2), and I need sub2 cannot transition to "In progress" until sub1 is in Resolved status.
To achieve this, I have thought about creating a Simple scripted validator (ScriptRunner) in the transition "To In progress" of sub2 workflow, with this code:
String key = issue.key
issueFunction in subtasksOf('issueFunction in parentsOf("issuekey = key") AND issuetype = Sub1 AND status = Resolved')
But I get the error:
I would appreciate any help. Thanks in advance.
The roof is on FIRE… network outages, broken processes, upset clients and employees. Each day seemed to bring more and more issues. Incidents were communicated via email, messengers (skype or teams) ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events