The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Updating fields when an issue is linked (Automation)

afsal nazar
September 8, 2020

I'm trying to update a custom field which updates using automation when an issue is linked.

 

Example:

1st Condition: When I link a bug ticket containing words "UAT Bug" then the counter in the linked issue (which is a story ticket) increments by +1. So if there are 10 bug tickets meeting previous mentioned condition, then the story ticket increments everytime and shows me 10.

I have done this using the automation rule below (screenshot attached).

2nd Condition: Now I have further added another condition to ensure that the story ticket counter doesnt increment when the linked issue is a task, epic or bug which doesn't contain "UAT Bug". (see bottom half of the screenshot)

 

Problem: The first condition works perfectly fine until i link an issue that matches the second condition. After this, the rule only executes the second condition. Is there a correct way to do this?

 

Untitled.png

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
John Funk
Community Champion
September 8, 2020

Hi @afsal nazar  - I am confused as to why you added the second condition at all? If it doesn't match the first condition it will do nothing, which is what it sounds like why you are adding the second condition. 

What is not working in the first condition that would make you want to add the second condition?