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.
Project managers know this problem: A “mountain of work” lays in front of you, and you don’t know how and where to tackle them. Different to-dos lie ahead, but just one task after the other can be ha...
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