Forums

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

How to inherit parent project name to child

Yaniv L
Contributor
October 24, 2022

Our basic hierarchy of issues is Contract --> HLR.

The contract issue is created under a project but HLR doesn't hold the project name so the only way to know to which project it is related to is by viewing the parent (contract) key.

I would like the HLR issue to display a read only field with the project name that its parent is related to.

Any easy way for beginners?contract issue.JPG  

HLR issue.JPG

1 answer

0 votes
Walter Buggenhout
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 24, 2022

Hi @Yaniv L,

Maybe I am missing something here, but the name (or key) of your parent project is right there, in the Parent link field on your screenshot.

In your example, CR-65 is the issuekey of the parent issue. An issue key always consists of the key of the project the issue is stored in (CR, which I believe is what you want to know) and a counter to uniquely identify the issue (65).

Wouldn't that be enough information? 

Yaniv L
Contributor
October 24, 2022

@Walter Buggenhout  I missed to mention that this 'CR' that appears in the key are only the 2-3 letter from the full project name.

Example: the key can be LI-24 where the project name is Lion

Yaniv L
Contributor
October 26, 2022

@Walter Buggenhout do you have a nice solution?

Walter Buggenhout
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 30, 2022

Hi @Yaniv L,

To be perfectly honest with you, I would not bother to try and solve this at all. In the case you describe, there's only 2 projects involved in your setup and when your users have been engaged in the process one or two times, they will be perfectly aware of where your issues are. On top of that:

  • your users will mostly work on their issues from boards or dashboards, where you can freely use the Board and Dashboard Titles to show them where they are;
  • When a user clicks on the link to a related issue, that issue is shown on screen, also showing the project name where it resides (see your screenshot from the System Engineering issue)

Having said that, automation for Jira supports using smart values. By setting up a custom field (e.g. project name), you can use the smart value {{project.name}} to add the data into that field each time an issue gets created.

See this support article for more information on project related smart values.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events