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,554,623
Community Members
 
Community Events
184
Community Groups

Multilevel query with condition on parent/child status (without ScriptRunner)

Enguerrand de Pompignan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Apr 13, 2023

Hello,

I'm new to using Jira, and a little help would be appreciated on this one :)

I would like to create a query that returns all issues with "submitted" status and with children that have "accepted" status. A solution would be this :

project = "ProjectABC" AND status =Analysed AND issueLinkType = "is parent of" AND issueFunction in hasChildren("status = Accepted")

The problem is I don't have Script Runner and can't use issueFunction and hasChildren. I tried this query but it doesn't work :

project = "ProjectABC" AND status = Submitted AND issueLinkType = "is parent of" AND issue in (issueLinkType="is child of" AND status=Accepted)

Do you have any idea ?

Thank you for your help :)

1 answer

1 accepted

1 vote
Answer accepted
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 13, 2023

Hi @Enguerrand de Pompignan,

Welcome to Atlassian Community!

Without an app that extends JQL you cannot create a query that will return the result you are looking for. You would need Scriptrunner, JQL Tricks, or any of the other apps in the Marketplace that extends JQL. 

Enguerrand de Pompignan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Apr 13, 2023

Hi @Mikael Sandberg 

Thank you


for your answer ! My organisation doesn't have any of these app, I guess I'll have to find another way. 

Thanks anyway :)

Suggest an answer

Log in or Sign up to answer