Forums

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

Find issues with epic status = something - error in software?

Jan Arve Dyrnes January 13, 2023

Hi, 

I feel it is a silly question :-)

This happens when I add a new issue to an Epic. The problem is that I can find them as long as i switch the status in the EPIC first. 

I have tried using both JQL and  JQLT like this: 
jqlt.agile.epicStatus = "In Progress"

it works after i switch the status from In Progress to waiting and then back again. 

I have also tried the "Parentstatus[Labels]" = "In Progress" 

To me it seems like some values are not set when you register a new issue in the epic from the EPIC form where you see the list of "Child issues".





1 answer

0 votes
Trudy Claspill
Community Champion
January 13, 2023

Hello @Jan Arve Dyrnes 

Are your issues in a Company Managed project or a Team Managed project?

Is this related to your 2021 post here:

https://community.atlassian.com/t5/Jira-questions/Find-all-issues-where-Epic-is-in-specific-state/qaq-p/1855777

It seems like you might be using JQL Tricks for Cloud based on your reference to jqlt.agile.epicStatus.

https://www.j-tricks.com/jqlt-cloud-usage.html

 

Can you clarify which issues you are trying to find? Are you trying to search for Epic issues, or the child issues within Epics? Do I correctly understand that you want to get a list of child Issues for all Epics where the Status of the Epic is "In Progress"?

Can you explain with detailed steps what you are doing to add a new issue to an Epic? And what you are doing when you "switch the status in the Epic first"?

Can you provide a screen image that shows what you are trying to do?

Can you show us the query you are using that does not get you the results that you want? And also show us images of the Epic that include its Status and the child Issues you would expect to be returned by your query?

Jan Arve Dyrnes January 13, 2023

HI @Trudy Claspill 

thanks for you reply. You are correct when you say I would like to find all child issues where Epic Status is  "In Progress"?

Bellow is an image where I add the child issue. And also an image of the Epic. There are child issues there in this Epic that has status different then done and is of the correct issueType. 

I have added a arrow to where I change the status of the Epic and where I add child issue :-) If i Change the Epic status from "InProgress" to "InActive" and then back again to "InProgress" the isssues I have added appear. 

Here is the the query:
project in (Trollstigen) AND issuetype in (Implement, Implementation) AND jqlt.agile.epicStatus = "InProgress" AND status not in (Complete, Rejected, Review, Waiting, Specification, Shelf) ORDER BY Rank ASC



image.png

Trudy Claspill
Community Champion
January 13, 2023

Thank you for that clarification.

Are your issues in a Company Managed project or a Team Managed project?

Jan Arve Dyrnes January 13, 2023

It is a Company managed project. 

Trudy Claspill
Community Champion
January 16, 2023

I am finding the same behavior in my Jira Cloud instance. I either have to change the Status of the Epic, or I have to use the JQL Tricks Configure screen to rebuild the indices.

I think this has to do with the re-indexing of Jira issues.

I have found multiple posts in the Atlassian communities going back to 2017 where replies indicate that the ability to re-index manually, available in Jira Server/Data Center, was deprecated in Jira Cloud because re-indexing is handled automatically.

Re-indexing of individual issues happens when they are transitioned between workflow statuses. It is part of the Post Functions. I believe that is why the filter is correct after you change the status of the Epic itself.

I don't know if or how frequently Jira Cloud re-indexes otherwise.

I recommend that you reach out to Atlassian Support directly to get an answer to that question.

https://support.atlassian.com/contact/#/

Jan Arve Dyrnes January 16, 2023

This is what I have found out also - almost seems like a bug but might have with the design to do. I guess i could make some kind of a automation rule that when you create an issue it gets some status from the parent Epic. That might work I guess :-)

thanks a lot for you answer. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events