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

JQL function powercript

I'm trying to find issues with a specific"issuetype" in which a issues with a specific"issuetype" is linked.

what i tried:

project = xx and issuetype = test1 and key in hasAnyLinks(' issuetype = test2')

what i want to get:

all issues withe type test1 in project xx who have "Issue Links" to issue(s) type test2

1 answer

Hi Marat,

Sadly you cannot achieve the desired search using standard features on Jira, you must go for a third-party app instead. Using i.e. JQL Booster Pack you can type the following:

 

Search Bugs under EMEA project with linked Support tickets:

project = EMEA AND type = Bug AND issue IN linkedIssuesOf("type = Support")

 

Using this app you can also query other issues relations, check:

 

References:

 

Hope this helps you to create awesome queries <3

Kind regards

Thanks for the advertisement.

I already have a plugin that extends the capabilities of jql - PowerScript

Can you help me resolve the issue using PowerScript?

Sorry I've never used that app. Could you try the following instead?

 

project = EMEA AND type = Bug AND key IN issuesLinkedAtDepth("type = Support", 1)

Hi Marat,
Had you got the chance to try the suggested JQL using the issuesLinkedAtDepth() function provided by PowerScript?

Did it helped you?
Regards

Suggest an answer

Log in or Sign up to answer
TAGS

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