I need to get next issue in certain order and scope for automation action based on current issue from this scope.
In other words i need to do recursive update of any scoped issues
Example: I have created a bunch of new consecutive issues for one assignee. And now i want to link them together with "has to be done after" in one chain of execution just because this one resource can't resolve issues in a parallel way. This will give me an initial precise chain for Gantt chart to predict deadline including holidays just in one click "Execute automation"
Hi @OK - Welcome to the Atlassian Community!
I don't know of an easy way to get the "next in line" issue for a group of linked issues. You might could create a custom field and increment the value by one for each newly created issue.
Then using Jira Automation you would read the min or max value of that field to perform a function. But when you perform the function it will need to change a value of some type of field in order to be able to put that in the condition when reading min or max.
It's a little far fetched but might work.
hi! thanks for reply
is it possible to iterate over a key(id) field, maybe? unfortunately, my current knowledge of jql doesn't give me a view how to do it. in mysql it would be a subquery with min/max function for sub-queried record's id field array (or first/last for ordered scope). does jql allow subqueries?
If you already heard about Smart Commits in Bitbucket, know that you just stumbled upon something even better (and smarter!): Genius Commits by Better DevOps Automation for Jira Data Center (+ Server...
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