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
Community Members
Community Events
Community Groups

Updating fields when an issue is linked (Automation)

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



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?



1 comment

John M Funk Community Leader Sep 08, 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?


Log in or Sign up to comment
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,130 views 34 44
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