Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can you share components between Jira projects?

Tags:

jira

I need to track issues in libraries that are shared between multiple projects. Is there a way to share these components? Or is it better to file a separate issue on each affected project?

like image 286
Ben Gartner Avatar asked Sep 15 '09 22:09

Ben Gartner


2 Answers

I get around this by creating a separate project for the shared code, tagging each issue depending on what release(s) it's related to, and then creating JIRA filters that look at these tags across multiple projects in order to track the list of issues for a release.

For example, let's say I have product A and product B, which both use the shared libraries. I want to release version 1 of product A and version 2 of product B; both of these releases need issue 1001 in the shared library project to be fixed.

I tag the shared library issue 1001 with "ProdAVer1 ProdBVer2", tag all the product A issues for version 1 with "ProdAVer1" and all the product B issues for version 2 with "ProdBVer2". Then I make a filter including all issues in product A or the shared libraries containing the tag "ProdAVer1" to track my issues for the product A release, and likewise using tag "ProdBVer2" for product B.

This sounds a bit long winded now I've written it down, but I think it's a better option than using cloned issues in multiple projects.

like image 147
gareth_bowles Avatar answered Sep 21 '22 17:09

gareth_bowles


We run into this same problem with shared code. We're currently using "clone" to create issues in multuple projects while retaining some connnection between them, but it definitely less than an ideal solution.

There's a whole series of tickets on the JIRA project for JIRA related to this issue. If you set up an account there, you can vote for issues to help influence the dev team and you can get notifications when the tickets are updated.

like image 28
Tim Sylvester Avatar answered Sep 21 '22 17:09

Tim Sylvester