Forums

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

Linked issues of TASKS in EPIC

Big Jim
Contributor
April 13, 2019

Sorry for the confusing title but I'm really stuck ! 

  • We have defined EPICS for tests we plan to perform (e.g. OVERALL PRODUCTION TEST)
  • We then have an issue type TEST in which we define the individual tests in the EPIC (e.g. PRODUCTION TEST 1, PRODUCTION TEST 2 etc.)
  • During tests we identify BUGS which are linked manually to one or more TESTS. There is no link from BUGS to the EPIC.

I need to report all BUGS linked to single EPIC e.g. OVERALL PRODUCTION TEST. 

The only way I've found to do this is to use the EPICS Links Hierarchy, export to excel and one tab lists a single entry for each individual issue type (even if this issue is linked to multiple tests). I filter for BUGS. This is a pain to put together weekly for all EPICS so I was looking for a query that could provide the same info. Any ideas ?

2 answers

1 accepted

0 votes
Answer accepted
Big Jim
Contributor
April 14, 2019

Thanks Radek. In fact in the end I used linked issues with a filter :

issuefunction in linkedIssuesOf("filter = 'Production Report'") AND issuetype = Bug AND status != Done
0 votes
Big Jim
Contributor
April 14, 2019

Hi

I've been trying this out all morning and found the following solution : 

issueFunction in linkedIssuesOf("project = XXX AND issuetype = 'TEST' AND 'Epic Link' = YYY-86 ") AND issuetype = Bug

So this lists all Bugs linked to all issue types TEST included in EPIC number 86. 

HOWEVER !!! Now I've found that some users have linked bugs the EPIC. I'm not sure how to extend the above query to also include Bugs linked to the (same) EPIC ? 

Radek Dostál
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.
April 14, 2019

If I understood the last note correctly, to include issues directly linked to the Epic it might look similar to:

 

issueFunction in linkedIssuesOf('key = YYY-86') AND issueType = Bug

 

Connecting this to your current query via OR (so that it's inclusive):

(issueFunction in linkedIssuesOf('project = "XXX" AND issuetype = TEST AND "Epic Link" = YYY-86') OR issueFunction in linkedIssuesOf('key = YYY-86')) AND issueType = Bug

 

 

//fyi not tested - just theory

Like Big Jim likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events