Forums

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

How do I populate a field on the issue screeds of an issue hierarchy

Wade Courtney October 27, 2022

I have the following hierarchy

  • Initiative
  • Epic
  • Story

I added a name field on the initiative labeled Sponsor. The field is also displayed on the Epic, and the Story.

I'd like to fill in a name on the initiative and have it populate the Sponsor field on all of the issues under that inititative.

How do I do that>?

 

2 answers

1 accepted

1 vote
Answer accepted
Mikael Sandberg
Community Champion
October 27, 2022

You can do this using automation that triggers on when that field is updated on the initiative, and then use the branch function to copy it to its related issues.

Screenshot 2022-10-27 at 2.14.13 PM.png

Wade Courtney October 27, 2022

Cool, thanks!!

Wade

Wade Courtney October 27, 2022

Hi, 

Did you intend to highlight the JQL Option? If so, I'm not that familiar with JQL, what would the JQL statement be doing?

Thanks

Mikael Sandberg
Community Champion
October 27, 2022

Yes, because JQL is currently the only option you have to find the epics linked to the initiative. Until parent() is replacing Epic Link and Parent link your first JQL would look something like this to get the epics related to your initiative:

"Parent Link" = {{issue.key}}

Since you cannot have a branch within the branch I would probably use the web request action and then have a second automation that sets the field for the stories, and in that one you could use the Stories (or other issues in Epic) branch to set the field.

0 votes
Trudy Claspill
Community Champion
October 27, 2022

Hello @Wade Courtney 

You could use an Automation Rule to copy information from one issue to another. Do you have any experience with Automation Rules?

https://support.atlassian.com/jira-software-cloud/docs/automate-your-jira-cloud-processes-and-workflows/

Wade Courtney October 27, 2022

Not a lot, but thanks I'll check out the link.

Suggest an answer

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

Atlassian Community Events