How do i find an issue 'B' linked to an issue 'A' where 'A' has a particular status

Hi,

Struggling to find an answer to the following. I suspect its part of the issueFunction in linkedIssuesOf() of scriptRunner but can't figure it out.

I have support issues that get to a certain state (MOVED TO DEVELOPMENT). At this stage they're cloned and moved to the relevant project for the development team to work on. I would like to see all issues linked to an issue that's currently in the 'MOVED TO DEVELOPMENT' state.

 

Any help appreciated,

Liam

3 answers

1 vote

It should be:

issueFunction in linkedIssuesOf('status = "MOVED TO DEVELOPMENT"')

Liam,

Perhaps you ought to try this query:

status = "MOVED TO DEVELOPMENT" and issueFunction in hasLinks()

Hi Mark,

Thanks for the reply!

The above gets me the support issues whereas what I'm looking for is the reverse. I'm looking for all the tickets that are in currently in another project (i.e with the development team) that have original tickets i.e. were cloned from, issues in  'MOVED TO DEVELOPMENT'

Does that make sense?

Thanks again,

Liam

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

78 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you