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: 

How to access property (i.e. issue key) of recently unlinked issue?

Nayan Chauhan
June 3, 2024

Hi

I have an automation rule which calculates number of repeat issues and stores in custom field. This works quite well but I am facing some issues when setting up similar automation when issue is unlinked. 

For example, 

When Issue (A-2) is linked to Issue (A-1) since it is repeat issue, I have custom field "Issue Occurrence" which will be updated to 1 in both issues. Similarly when I link another repeat issue (A-3) to Issue (A-1) (Master Issue), "Issue Occurrence" field in A-1, A-2 & A-3 will be updated to 3. Since they all are same issue and have occurred 3 times.

Problem occurs when I unlink Issue (A-3) from Issue (A-1). "Issue Occurrence" field in A-1 and A-2 is updated to 2 (which is correct) but Issue Occurrence field in A-3 stays at 3 and would like to clear it.

Does someone know how can I access A-3 once it is unlinked from A-1 and update custom field in A-3 (to 0 in this case)?

I have searched everywhere but could not find anything helpful. I will really appreciate your support/suggestions.

Thank you.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Nayan Chauhan
June 18, 2024

I managed to achieve this by creating a branch in automation rule for "Destination Issue".

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events