Forums

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

JQL for Card Color if Issue has SubTask of a certain type

Stephen Herrick February 27, 2020

I'm trying to figure out how to write the JQL to set the card color if the Issue has a subtask that is a certain type ("Fault" in this case).  Here are some that I tried out and neither seem to work.

linkedIssue in(issueType = Fault AND status != Done)

subtasks in(issueType = Fault AND status != Done)

 Anyone get any success with something like this?

2 answers

1 accepted

1 vote
Answer accepted
Parvaneh Zand
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.
February 27, 2020
Stephen Herrick February 27, 2020

That looks like it would help but that is a paid app.  I was hoping to find a solution using the built in functionality of Jira Cloud.

Parvaneh Zand
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.
February 29, 2020

As much as I know there's no way to do this without a plugin. Your question needs a subquery inside the parentheses, but built in functions don't support it:

https://support.atlassian.com/jira-software-cloud/docs/advanced-search-reference-jql-functions/

Stephen Herrick March 2, 2020

That is what I thought.  Thanks for your help.

0 votes
Daniel Turczanski - JQL Search Extensions
Atlassian Partner
March 5, 2020

Hi @Stephen Herrick ,

It's not a native solution but you can try our app JQL Search Extensions. It supports subqueries for links, subtasks and epics.

Suggest an answer

Log in or Sign up to answer