It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Get defects linked to Stories / EPIC

Hi, 

I'm trying to create a filter to get the defects that are linked to stories/EPIC. Can you guys help me in providing me a query for getting the defects that are linked to my US. 

BDW we're using Jira v7.13.11 and I don't have "IssueFunction" parameter. 

Thanks 

Ramesh

2 answers

2 accepted

0 votes
Answer accepted

Hello @Ramesh Babu

I'd go with something along the lines of the following:

  • specify project
  • specify epiclink (Epic's key)
  • specify issuetype

A hypothetical scenario would be:

  • project = TEST
  • epiclink = TEST-1
  • issuetype = BUG

Resulting filter: project = TEST AND epiclink = TEST-1 AND issuetype = BUG

@Fernando Bordallo - Thanks for the answer. I was able to retrieve all the defects linked to my stories / Epics with your query. 

Like Fernando Bordallo likes this
0 votes
Answer accepted
Jack Community Leader Jan 13, 2020

If your goal is to find all issues that has one or more links to other issues then you can use the IssueLinkType JQL function. That is you can incorporate the following into the rest of your JQL...

issuelinktype is not empty

now you will want to add in the Epic part to if you want to find issues that are associated w/ Epics...

issuelinktype is not empty OR "epic link" is not empty

so you might end up w/ a query something like this...

project = myproject and issuetype = bug and (issuelinktype is not empty OR "epic link" is not empty)

@Jack - Thanks for the answer. I was able to retrieve all the defects linked to my stories / Epics with your query. 

Like Fernando Bordallo likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you