Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Tracking stories from epics that have a component

Hi,

In my group, we use components at the epic level for reporting purposes. However, our epics usually run into multiple releases. We can only get an idea of work completed during a period or work in progress at a given point in time from stories, not epics. I want to know whether based on components applied at the epic level we are able to get a breakdown of story status for that component. If so, what would be the JIRA filter?

2 answers

0 votes

Hi @Raga Ranjani Challapilla

You'll need enhanced JQL functions to do this through an app. There's a few options on the Marketplace, but we use ScriptRunner. Or just their search app, Enhanced Search.

Enhanced JQL functions allow you to search for the children of epics based on a sub-query which limits the epics being considered in the search.

For example, see the function issuesInEpics on their wiki. This function allows you to find issues related to epics found by the subquery e.g. find all stories for open Epics in a project.

So for your query you could do:

issueFunction in issuesInEpics("component in (XYZ, 123, 4F6)")

 Ste

I have this question too.  I am trying to create a query that returns all issues where the Component on the Epic = a certain value, so I can avoid having to add the component to every issue in that epic...   

Hi @Laura Bier 

Does the above answer not cover this need?

Ste

Thanks Stephen. I don't have access to any add ons.  Was hoping to be able to do it natively.  

Hi @Laura Bier 

There isn't a native method without an app at this stage to search with dynamic sub-queries.

Your alternative would be to:

  1. Locate all the Epics with the specified component
  2. Search for all issues which are children of those Epics - i.e "Epic Link" in (XYZ-1, XYZ-2, XYZ-3)

It would require a manual update when a new Epic receives or has the component removed - but it's a possible method without extra functionality :)

Ste

Like Laura Bier likes this

Thanks Steve for all your support.  We ended up creating some automation rules that effectively allow us to perform our goal.

Rule 1: when a component on an epic changes, copy that component to the issues in that epic

Rule 2: when a new issue is created, if the epic has a component, copy that component to the new issue

These rules are not foolproof.  For example, you could create an issue and change the issue components after the fact. Or you could create an issue without an epic and add the epic after the fact.  Having said that, they capture the vast majority of issues, and it improves our reporting ability without having to rely on users creating issues to remember all the appropriate components.

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