Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is it possible to get current issue's next issue for automation action? Edited

Hi!

 

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"

1 answer

0 votes
John Funk Community Leader Mar 21, 2020

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?

John Funk Community Leader Mar 21, 2020

You should be able to use Automation For Jira to do that. It is now free as a part of Jira. 

i understand. and i am saying just about automation. automation will have a step to get an issue to modify. and the question is how to get next issue in order after current (ORDER id asc, for example) to apply automation to it...

John Funk Community Leader Mar 21, 2020

See my comment above about creating a custom field and incrementing the value as you create each new issue in order. 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

Bitbucket Smart Commits vs. Genius Commits - What's the difference?

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...

114 views 0 2
Read article

Community Events

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

Events near you