Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JQL Query

Rhiannon Miller October 12, 2021

I'd like to exclude proposal and contractual request tickets whose parent ticket is closed. You can see on the attached image the filter has returned a proposal request for which the associated sales ticket is closed. My current filter query is:

(project = .sales. OR project = "Client Services") AND Bid-Manager in (yhiggsmith, pneale, halsaadi, rmiller, ldadson, jchai) AND Status in (Suspect, Lead, Prospect, "Proposal Out", Verbal, "With COPS", "Ready for Review", "With Customer", "In COPS Review", "OPS Governance", "In Progress", "In Review") AND status != Closed OR "Project Manager" in (yhiggsmith, pneale, halsaadi, rmiller, ldadson, jchai) AND Status in (Suspect, Lead, Prospect, "Proposal Out", Verbal, "With COPS", "Ready for Review", "With PS Team", "With Customer", "In COPS Review", "OPS Governance", "In Progress", "In Review") AND status != Closed ORDER BY key ASC, Rank ASC

This is probably a housekeeping issue moving forwards but to work with what we have right now it would be good to be able to exclude these instances.Screenshot 2021-10-12 at 16.46.43.png

 

2 answers

2 accepted

2 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 12, 2021

Hi @Rhiannon Miller  -- Welcome to the Atlassian Community!

Focusing on the problem you noted: exclude issues from the board when the parent is in a particular status...

That is not possible with out-of-the-box JQL, as it is not a SQL and does not have such features.  You would need a marketplace addon to do so.

And also...you note not wanting to see such issues.  Why are the child issues still open when the parent is closed?

  • If this is an error and the child issues should have been closed, you could investigate using an automation for Jira rule to close the children when a parent closes
  • If instead when the parent closes, the children are now independent (or have a new parent) consider how to alter that relationship in the issues.

Kind regards,
Bill

Rhiannon Miller October 13, 2021

Hi Bill,

Thanks for your response. Systems I've used in the past have closed down the child tickets when the parent ticket closes, which makes sense, but perhaps there's a reason these haven't closed. I'm relatively new to the software so maybe I need to ask our admin some clarifying questions.

Thanks again!

Rhiannon

Like Bill Sheboy likes this
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 13, 2021

For my 2p worth, I know exactly what you're working with, it's a very old project that has been completely mis-handled over many years and is very poorly configured.

I've never been allowed admin on that system because I'd have burned it with fire.

You have colleagues working on binning it and getting something better in place already, we've already decided not to bother making even more changes to it as it is.

Like Haider Al-Saadi likes this
0 votes
Answer accepted
Daniel Turczanski - JQL Search Extensions
Atlassian Partner
October 13, 2021

Hi,
With standard JQL, you can only get a list of issues that have a particular issue link type:

issuelinktype="included in sales opportunity"

As a next step, you can use our app to find only the issues that have dependencies that are still not done:

issue in linkedIssuesOfQuery("resolution is empty", "includes in sales opportunity")

Check out the documentation if you want to know more.
I hope this helps!
Daniel

Rhiannon Miller October 13, 2021

Thank you!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events