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

How to set the summary of linked issue to a text custom field within the other linked issue?

שגיא גואטה
Contributor
August 2, 2023

Hello,

 

I want make automation that will fill a text custom field with the summary information of it's linked issue.

 

for instance:

I have Initiative name: Initiative 1

and it's linked to an Epic, for instance by linked issue type: Epic of initiative.

 

I want that "Initiative 1" will be filled at "Parent Name" custom field within the Epic.

 

I tried using on the action item in setting:

{{issue.issuelinks.first.inwardIssue.summary}}

 

but it didn't work at all. Do you have any other suggestion? does it possibleimage.png

1 answer

1 accepted

1 vote
Answer accepted
Ste Wright
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 5, 2023

Hi @שגיא גואטה 

You should be able to do this without a smart value when the issue link is added from the Initiative level, not the Epic:

  • Trigger: Issue Linked
  • Condition: Issue Fields Condition
    • Field = Issue Type
    • Condition = equals
    • Value = Initiative
  • Branch: Related Issues
    • Type = Linked Issues
    • Link Type = <link type> - the link type from Initiative to Epic
      • Branch-Action: Edit Issue
        • Field = Parent Name
          • COPY - access this option via the breadcrumbs (3-dots icon) next to the field
            • Issue to copy value from = Trigger Issue
            • Field to copy value from = Summary

---

If it's the opposite way around, and the Epic is where the link is added, there shouldn't be a need for the Branch as the action is happening to the trigger issue:

  • Trigger: Issue Linked
  • Condition: Issue Fields Condition
    • Field = Issue Type
    • Condition = equals
    • Value = Epic
  • Action: Edit Issue
    • Field = Parent Name
      • Value = {{issue.issuelinks.first.inwardIssue.Summary}}

---

Let us know if these work for you!

Ste

שגיא גואטה
Contributor
August 9, 2023

Thanks alot! it was a good advice. Really helpful :)

Like Ste Wright likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events