Forums

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

Reduce the counter value when linked issue is removed

Sanjivani Wayal
Contributor
February 4, 2024

Hi,

 

I have written the automation that if the issue is linked to any issue with particular link name (Blocks) the counter field should increase(shows no of issues linked) , but i also want to write that if the linked issue is removed then the counter should get decreased any idea how this can be achieved?

1 answer

1 vote
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 5, 2024

Hi @Sanjivani Wayal 

For a question like this, please post an image of your complete automation rule, images of any relevant actions / conditions / branches, and an image of the audit log details showing the rule execution.  Those will provide context for the community to offer ideas.  Thanks!

Until we see those...

Rather than increment and decrement the value, I recommend recounting the issues, using lookup issues with JQL, to ensure the value is correct each time a link change occurs.

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events