Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automation: need to get destination field value only when linked to specific issues

Hi, 

We have the following requirement:

When an issue A is linked to issue B via the 'relates to' link, I need to copy the value of the issue B key in a custom field of issue A.

So far no problem, but I only need to do this when issue B (the destination issue) is in project C.

I tried using the 'Related issue' branch for the 'Current Issue' where I have access to set the field to the value {{destinationIssue.key}} but then I can't filter the destination issue to only be in the project C.

I tried using the 'Related issue' branch for the 'Destination Issue' but then I cannot update the field in the triggering issue.

Any ideas on how this could be done?

1 answer

0 votes
Chris Buzon Community Leader Dec 09, 2021

If I understand what you're saying you can use a condition just after the For: Destination Issue:
chrome_2021-12-09_13-14-40.png

Hi @Chris Buzon , 

But when in the branch 'Destination Issue' after the test, how can I update the custom field of issue A (trigger issue)? 

Chris Buzon Community Leader Dec 10, 2021

I'd probably create a temporary variable in the branch that stores that info from the destination ticket, then use it wherever you want elsewhere in the rule.


Like Bill Sheboy likes this

But that's only available in Cloud, we're using the Data Center version...

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

👋 Looking for 15-20 volunteers to test Atlassian training content

Hi everyone! Are you interested in beta testing Atlassian University’s newest (unreleased!) training course? We’re looking for 15-20 volunteers to test our newest training course, Basic reporting...

816 views 24 28
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