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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,523
Community Members
 
Community Events
185
Community Groups

How to show Epics that are associated to another Project's stories

I'm looking to show Epics from Project A that are associated to Stories in Project B on Project B's Project and Board; I do not want to see all Epics from Project A. I do not see an option on the filters to do that. So far, I've used 'Project IN (A, B)' and contains a keyword, but those would not provide the correct filtering I'm looking for. I want to see if there is a dynamic option that pulls the Epic into Project B as soon as a Story is associated with it. Is there a way to do this?

4 answers

2 accepted

1 vote
Answer accepted
mauricio.groth
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.
Apr 13, 2023

Hi @Jones_ Carlin A

I’m Maurício, a support engineer at Appfire and I’m here to help you.

Unfortunately, using JQL of Jira, you’ll not be able to do it dynamically.

In the app where my team works, JQL Search Extensions for Jira, you can use this query to find Epics that are associated to another project’s Story:

issue in linkedIssuesOfQuery("project = B and type=Story") AND type=Epic and project = A

Please contact our support if you have any other questions about this query.

We’ll be happy to help you!

Best regards,

Maurício

Howdy Mauricio,

 

Thank you for the insight. We'll review JQL Search Extensions and see if the product is right for us.

 

Thank you,

 

Carlin Jones

Like mauricio.groth likes this
0 votes
Answer accepted
Hannes Obweger - JXL for Jira
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
Apr 15, 2023 • edited Apr 16, 2023

Hi @Jones_ Carlin A

just to put this out there, another option might be to consider one of the more hierarchy-focused apps from the Marketplace. These apps typically have their own ways of figuring out parent/child relationships between issues, and provide more powerful ways of defining and searching through issue hierarchies. I myself work on such an app, in which your use case would be easy to solve - I'll provide more details below.

The advantage here is that you can actually view your issues in their hierarchy, which depending on your exact use case, may make things considerably easier.

Hannes Obweger - JXL for Jira
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
Apr 15, 2023

Just to expand on the above, here's how this would look in the app that my team and I are working on, JXL for Jira:

epics-with-stories-in-other-projects.gif

JXL is a full-fledged spreadsheet/table view for your issues that allows viewing, inline-editing, sorting, and filtering by all your issue fields, much like you’d do in e.g. Excel or Google Sheets. It also comes with a number of advanced features, including support for (configurable) issue hierarchies. Once a hierarchy is enabled, you can use JXL's search and filter capabilities to narrow your issues down to exactly what you're looking for.

Once you've got your issues, you can work on these issues directly in JXL, trigger various operations in Jira, or export your issues with just one click.

Any questions just let me know,

Best,

Hannes

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 12, 2023

@Jones_ Carlin A 

Welcome to the Atlassian community!

How are the issues in project B associated to the Epic in Project A? Are the project B issues children of the Project A Epic?

Are you working with Jira Server/Data Center or Jira Cloud? If your Jira URL is similar to the one below then you are working with Jira Cloud.

https://yourCompany.atlassian.net

Howdy Trudy,

 

Project B are the stories associated with the Epic in Project A through the Epic Link; we are currently working with Jira Server but we are moving to the Cloud in the coming months.

 

Thank you,

 

Carlin Jones

0 votes
Valeriia_SaaSJet
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
Apr 12, 2023

Hello @Jones_ Carlin A 
Welcome to the community! 

Yes, it is possible to show Epics from Project A that are associated with Stories in Project B on Project B's board using JQL filters in Jira. You can use the following JQL query:

project = B AND "Epic Link" in (project = A)

This query will filter out all the Epics from Project A that are not linked to any issues in Project B. It will only display the Epics that have at least one Story linked to it in Project B.

To ensure that the Epics from Project A are dynamically pulled into Project B as soon as a Story is associated with it, you will need to make sure that the Epic Link custom field is available in both Project A and Project B.

You can follow these steps to check if the Epic Link field is available in both projects:

  1. Go to the Project Settings of Project A and Project B.
  2. Click on the Fields section in the sidebar.
  3. Check if the Epic Link field is available in both projects. If not, add it to both projects.

Once the Epic Link field is available in both projects, you can link Stories in Project B to Epics in Project A by selecting the appropriate Epic in the "Epic Link" field of the Story.

After linking the Stories to the Epics, you can use the JQL query mentioned above to filter the Epics and display only the relevant Epics on the Project B board.

Howdy, thank you for the welcome and feedback. When I use 'project = B AND "Epic Link" in (project = A' I get an error returned. I've checked to make sure the Epic Link field is available in both projects. It looks like the error comes from "Epic Link" In (project = A); I'm not sure how else to pull the Epic comes from Project A.

Like Valeriia_SaaSJet likes this
Valeriia_SaaSJet
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
Apr 12, 2023

@Jones_ Carlin A 

It looks like the JQL you provided is not formatted correctly. To search for Epics in Project A that are associated with Stories in Project B, you can use the following JQL: 

project = B AND "Epic Link" in issuesInProject("A")

This JQL will search for issues in Project B that have an Epic Link field that is linked to an Epic in Project A.

Make sure that the Epic Link field is available in both projects and that the field name is spelled correctly. Also, make sure that you have the necessary permissions to view issues in both projects.

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 12, 2023

@Valeriia_SaaSJet 

Native Jira Jql functionality does not support either

- using a filter for the "Epic Link" field criteria when using the = operator

- the issuesInProject function

Like # people like this
Valeriia_SaaSJet
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
Apr 12, 2023

@Trudy Claspill Thank you!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events