The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

unable to add status "In progress" to the status list (status in)

Victoria Luskin
Contributor
September 22, 2024

 

Hi,

I am trying to create the following query (to get the list of all epics), which are not closed, but their children are closed/fixed/accepted.

 

project = XXX AND status not in (Closed,Accepted) and issueFunction in linkedIssuesOf("status in( fixed,accepted,closed)", "has epic") and not issueFunction in linkedIssuesOf("status in (open, acknowledged, "In Progress")", "has epic")

it works fine without "In progress" status, but when I add it, I get error: 

 

Error in the JQL Query: Expecting ')' or ',' but got 'In'. (line 3, character 70)

1. How can it be resolved?

2. Is there another way to exclude all epics with children status: open, acknowledged, In progress?

3. What is the query to get all epics without children at all?

 

Thanks,

 

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

3 votes
Answer accepted
Manoj Kumar Gangwar
Community Champion
September 22, 2024

Hi @Victoria Luskin 

The status "In Progress" is enclosed in single quotes because it has a space.

project = XXX AND status not in (Closed,Accepted) 

AND issueFunction in linkedIssuesOf("status in (fixed,accepted,closed)", "has epic") 

AND not issueFunction in linkedIssuesOf("status in (open, acknowledged, 'In Progress')", "has epic")

To find all epics that don’t have any linked issues (children), you can use this query:

project = XXX AND issuetype = Epic AND not issueFunction in hasLinks("is Epic of")

 

Victoria Luskin
Contributor
September 22, 2024

@Manoj Kumar Gangwar thank you very much!

Like # people like this