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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,053
Community Members
 
Community Events
184
Community Groups

issuefunction in issuesinEpics(Subquery) cant get subquery to return results.

Hello,

 

I have the following JQL that brings back a couple of Epics

 

issueFunction in linkedIssuesOf('issueFunction in linkedIssuesOf(\'issueFunction in linkedIssuesOf(\\\'issueFunction in linkedIssuesOf(\\\\\\\'key = PRJ-919\\\\\\\', "is delivered by")\\\', "is implemented by")\', \'is implemented by\')', 'contains')

 

 

When i then try and use the above JQL for my subquery:

 

issueFunction in issuesInEpics("issueFunction in linkedIssuesOf('issueFunction in linkedIssuesOf(\\'issueFunction in linkedIssuesOf(\\\\\\'issueFunction in linkedIssuesOf(\\\\\\\\\\\\\\'issueFunction in linkedIssuesOf(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'key = PRJ-919\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\', \"is delivered by\")\\\\\\\\\\\\\\', \\\\\\\\\\\\\\'is implemented by\\\\\\\\\\\\\\')\\\\\\', \\\\\\'is implemented by\\\\\\')\\', \\'contains\\')')")

 

It brings back 0 results.

 

Can anyone let me know what I'm doing wrong?

 

Cheers

1 answer

0 votes
Ram Kumar Aravindakshan _Adaptavist_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 27, 2023

Hi @Phillip Spode

Could you please explain what exactly you are trying to get from your JQL Query and Sub Query? I am requesting this clarification to try and provide a better solution.

Thank you and Kind regards,
Ram

Hello Ram,

 

Thanks for your message. We are creating some JQL that brings back all the issues with a specific linkage to the issue in question. These are issues spanning over different projects but are all ultimately linked to the original issue in some capacity.

 

So we have 'Issue A' In the above scenario, Issue A has the key of PRJ-919.

 

Issue A 'is delivered by' Issue B.

 

Issue B 'is implemented by' Issue C

 

Issue C 'Is Implemented by' Issue D

 

Issue D 'Contains' Issue E

 

Issue E are the epics, and then we need to find all the children of the epics.

 

This will then show us all the relevant issues linked from Issue A down to the Children of Issue E.

 

The JQL below works fine and brings back all the tasks we need between A and E.

 

key = "PRJ-919"

OR issueFunction in linkedIssuesOf("key = PRJ-919", "is delivered by")

OR issueFunction in linkedIssuesOf('issueFunction in linkedIssuesOf("key = PRJ-919", "is delivered by")', "is implemented by")

OR issueFunction in linkedIssuesOf('issueFunction in linkedIssuesOf(\'issueFunction in linkedIssuesOf("key = PRJ-919", "is delivered by")\', "is implemented by")', "is implemented by")

OR issueFunction in linkedIssuesOf('issueFunction in linkedIssuesOf(\'issueFunction in linkedIssuesOf(\\\'issueFunction in linkedIssuesOf(\\\\\\\'key = PRJ-919\\\\\\\', "is delivered by")\\\', "is implemented by")\', \'is implemented by\')', 'contains')

 

So the final bit I cant get to work is getting that final line as a subquery in the 'issuesinEpics' issue function. This will bring back the children of those epics and complete the query.

 

Cheers


Phil

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events