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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • 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

Existing Linked Issues Counter Edited


I wasn't able to find an answer for this in the AC, so here's a new question.


I am using a JSD automation to create an issue in a separate Jira Software project upon JSD case transition. So...

WHEN: Status Changed (of an issue in SUP project)

IF: Status = "In Development" AND "Request Type" is not EMPTY

THEN: create an issue in another project (DEV) ("is cloned by" link type, with inherited summary: ${sourceissue.summary})


Now suppose the DEV issue (the clone) is returned to SUP, but after some testing it needs to go back to DEV. If I simply transition it to "In Development" again, my automation will create yet another linked issue. I would like to avoid that. I thought I would create a linked issue counter and prevent new issues from being created if it is > 0. But...

Turns out that I cannot do this with JQL. After some research, I believe it is impossible without additional apps. I am test driving Scriptrunner, but it appears that while it's possible to produce a list of linked issues (using issueFunction), there is no obvious way to produce a simple count. With it I would only need to update the JQL in my IF clause with something like "...and issueCount>0". Can someone push me in the right direction or recommend another solution/extension?


Thank you!


0 answers

Suggest an answer

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

Do Not Lose your Customer’s Trust

Missing deadlines is one of the biggest problems every team lead wants to avoid when dealing with managed services. When the customer contracts your company to help with IT services it is expected th...

310 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