Forums

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

Epics linked to other epics with specific labels.

Scott Federman July 17, 2023

I have a project (qend) which epics that link to other epics through the "predecessors" link type which contain a specific label. Is this possible?

3 answers

1 accepted

0 votes
Answer accepted
Trudy Claspill
Community Champion
July 17, 2023

Hello @Scott Federman 

I am unclear what your question is.

The "predecessors" link type is not a default link type. That may be a custom link type added to your system.

You can use any kind of link type between any two issues.

What action is it that you are asking about?

Scott Federman July 17, 2023

@Trudy Claspill so we have epics in our qeng project that are linked to other epics outside of our qeng project. Those external epics contain specific labels. I need to be able pull a list of our qeng epics linked to those external epics that contain any one of defined set of labels

 example:

Lables could be "steelThread1", "steelThread 2", "steelThread3"

QENG-435 is linked to SYSPMS-325 which contains label "steelThread1".

QENG-492 is linked to SYSPMS-448 which contains label "steelThread2"

QENG-636 is not linked to anything

QENG-327 is linked to SYSPMS-1204 which contains label "SunnyDay"

I need a list that would show all the QENG epics that are linked to any other epic which contains one of the defined labels. In this case it would return QENG-435 and QENG-492.

Trudy Claspill
Community Champion
July 17, 2023

Hello @Scott Federman 

Thank you for that clarification. 

Jira does not natively provide JQL functionality to support what you want.

Are you willing to consider, or do you already have, third party apps that extend JQL functionality?

For instance Scriptrunner Enhanced Search has the linkedIssuesOf() function.

With that you could create a query like this:

project=QENG and issuetype=Epic and 
issue in linkedIssuesOf("project=SYSPMS and issuetype=Epic and labels in ('steelThread1','steelThread2','steelThread3')","predecessor")
Like Romy Greenfield likes this
Trudy Claspill
Community Champion
July 18, 2023
0 votes
Scott Federman July 18, 2023

@Trudy Claspill and @Romy Greenfield We don't have scriptrunner but we do use JQL Search extensions. Do you know if there is any options there that may work?

Romy Greenfield
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.
July 18, 2023

Hi @Scott Federman

I have not used it personally.

0 votes
Romy Greenfield
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.
July 18, 2023

Hi @Scott Federman 

As Trudy has suggested, you can use ScriptRunner Enhanced Search or Enhanced Search's linkedIssuesOf function to create a filter from the Enhanced Search page.

I have amended the JQL inside the first parameter to remove the project specific link, in case you did not only want results linked to the SYSPMS project. 

project=QENG and issuetype=Epic and issue in linkedIssuesOf("issuetype=Epic and labels in ('steelThread1','steelThread2','steelThread3')", "predecessor")

Here is a youtube video introduction to the app.

Let me know if you have any more questions!

Best regards

Romy 

Suggest an answer

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

Atlassian Community Events