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,298,415
Community Members
 
Community Events
165
Community Groups

How to update a field on a linked issue to same values

Edited

I want the field Invoice Number to be updated on a linked issue, no matter which of the issues it is updated on. 

E.g, the Invoice Number is inserted on an issue, and I want the linked issue to get the same number in the same field. Duplicate field.jpgIssue.jpg

1 answer

1 accepted

1 vote
Answer accepted

Hi @Sigrid Kviteberg,

You should be able to do this through an automation rule. Have a look at this example from the template library. I think it does exactly what you need; you should just update the fields and project used to the ones from your example.

Hope this helps!  

Thanks, but unfortunately it isn't working for me. 

The audit says that the linked issue is updated, but the value is not showing. 

Rule details.jpgCopy field.jpgaudit.jpgIssue to be updated.jpgIssue to copy from.jpg

Hi @Sigrid Kviteberg 

In your edit of the Invoice Number, you are copying from "current issue".  At that point in the rule, "current" issue is the one from the branch.  Please change that edit to copy from Triggering Issue, if that is what you wanted.

"Current Issue" ( which is the smart value {{issue}} ) can be different at different points in a rule.  For example:

  • trigger: some trigger  (at this point, {{triggerIssue}} and {{issue}} are the same)
  • action: some action  (at this point, {{triggerIssue}} and {{issue}} are the same)
  • branch: to some issues
    • action: some other action  (at this point, {{triggerIssue}} and {{issue}} are different, where {{issue}} now refers to an issue from the branch)
  • action: another action  (at this point, {{triggerIssue}} and {{issue}} are the same)

Kind regards,
Bill

@Bill Sheboy 

Thank you, I finally managed to get it working setting the field as shown below. 

CopyFieldTrigger.jpg

Like # people like this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,860 views 37 49
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you