Forums

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

JQL can't find children of an Epic in a Kanban Board

Scot Mcphee October 1, 2018

Hi, I've got a Kanban Board, and I've recently added Epics.

I'm trying to construct a JQL just to list all the children of a particular Epic. But it doesn't seem to think that any of the Epics have any children, even though I can clearly see the Epic in question does have child stories in the roadmap and elsewhere in the board.

If I try this query: `parentEpic = AOCD-18` ... the only result is the Epic itself. I've tried a variety of other functions/fields: parent, parentLink, issuesInEpic ... none of those return any results at all. How do I do this?

 

Screenshot 2018-10-02 12.52.14.png

6 answers

1 accepted

3 votes
Answer accepted
Veera
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 3, 2018

Unfortunately, the next-gen project doesn't support JQL for Epics yet. This is something we already considered to implement in the future.

Scot Mcphee October 3, 2018

Thank you for the information Veera.

I solved my issue in an immediate sense by adding to all the stories a tag indicating the epic and I can filter on that for the moment so I can have dashboards related to just one epic's stories.

It would be great if you could support nex-gen epics in JQL as soon as possible!

2 votes
KahWen Tan October 8, 2018

As a side note, there is now a feature request that people can vote for. (https://jira.atlassian.com/browse/JRACLOUD-70695) 

Scot Mcphee October 8, 2018

voted for issue, thanks!

1 vote
Emily Byars
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!
October 2, 2018 edited

I'll be curious to find out if this gets solved as well.

Scot Mcphee October 2, 2018

I've filed a support ticket about it. I will update this thread with the resolution when I know.

1 vote
Grigory Salnikov
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 1, 2018

Hi!

Try "Epic Link" if there's such a field in your environment.

It's strange but I don't have any 'parentEpic' option.

Scot Mcphee October 2, 2018

I tried 'Epic Link' and it doesn't return anything either.

 

The autosuggestions when I type that, also come up with two possibles (see below). Choosing either of these directly also fails to find anything.

 

Screenshot 2018-10-02 17.09.19.png

Scot Mcphee October 2, 2018 edited

However, when I switch back to "basic mode" it shows me "Epic Link" (twice) as a value I can search for:

Screenshot 2018-10-02 17.24.28.png

 

 

Selecting either of these two, sort-of works, but I have to select "all"... (all of the below occurs the same regardless of which of the two I use):

Screenshot 2018-10-02 17.24.44.png

You can see from the available suggestions, the possible values, which are weird:

 

Screenshot 2018-10-02 17.28.20.png

 

Then if I select one of those and press 'Update', it freaks out and tells me it's not an epic (see the error at the end of the list):

 

Screenshot 2018-10-02 17.28.40.png

If I persist and search anyway, it just goes back to saying "no results"

Scot Mcphee October 2, 2018

Clicking 'Advanced' JQL shows me the query is:

 

project = AOCD AND issuetype = Story AND cf[10100] = AOCD-18
Scot Mcphee October 2, 2018

Also, using 'Epic Link' in the basic view and selecting 'All' or 'No Epic Link' returns the same 26 stories either way.

But there's definitely "Epics" in the system with Stories associated, I can see them in the Roadmap and if I go down to an individual story it's listed as:

AOCD-18 / AOCD-24

Where the first one is the epic and the second is the story.

Here's the Roadmap

Screenshot 2018-10-02 17.41.20.png And here's a view of the Epic clearly showing the Children issues.

 

Screenshot 2018-10-02 17.46.34.png

Grigory Salnikov
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 2, 2018

Yes, this is quite strange.

Maybe this has something to do with all that behavior:

Why does an epic link show up as unlabeled?

Scot Mcphee October 2, 2018

Hmm yes, maybe. Possibly subtly different due to the 'beta' nature of the epics in kanban projects?

- Child issues display the name of the parent epic ok

- The options around editing the story, and/or changing the epic type back and forth don't seem to be available to me. There's also no pre-existing field "Epic Title" that isn't added which I can add.

(also, I can't add custom fields to Stories in my project, but I can add them to an Epic type)

Grigory Salnikov
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 2, 2018

I assume you've got a cloud version so there's no option to reindex. That what I would also recommend was it a Server.

Scot Mcphee October 2, 2018

yeah I've filed a support ticket and will see what they say or do. will update back here once they get back to me.

thanks for you help!

1 vote
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 1, 2018

I’m curious, is this a nexgen Agility project?

Scot Mcphee October 1, 2018

I've got no idea what that is in this specific context, sorry.

Scot Mcphee October 1, 2018

I looked around in Jira to see if there was a version tag but I can't find one. It is a cloud instance. The Epics only recently appeared for my project type.

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 2, 2018

@Scot Mcphee, the reason I asked if your AOCD project falls under the NextGen category is that Epics are done differently (many things are different). The concept of Epic Links do not exist. Epics have children but unsure how to ferret that out via JQL at the moment. While I have not spent much time w/ Agility project I do know that using JQL "Epic Link" will not return the children. I need to spend some time researching the 'replacement' if it exists.

Now based upon your images you have added it is clear that this is indeed an Agility project. Given that you are using Agility which remains beta you should use the "give feedback" button by clicking on your profile button in bottom left.

0 votes
Ignacio Pulgar
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 2, 2018

You've got 2 custom fields named Epic Link. May you check in the custom field list if both of them are system locked? They should be labeled as such in the custom fields page for preventing deletion.

Suggest an answer

Log in or Sign up to answer