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 get the link type of a deleted link?

Chloe Allison
January 9, 2024

In my automation I want to remove a label when the "is duplicated by" link type is deleted from an issue. My trigger is When: Issue link is deleted. I thought I could do this by referencing {{destinationIssue.linkType}} but the automation returns this as nothing when I output this to the log. Is it impossible to get the link type of a deleted link? 

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Chloe Allison
February 26, 2024

Hi Marc,

 

Thanks for the suggestion but unfortunately this automation never gets triggered when a linked issue is deleted for some reason.

Marc -Devoteam-
Community Champion
February 26, 2024

HI @Chloe Allison 

I dug some more and found this information based on automation.

So ideally the Automation rule for this would simply be:

  • Trigger: Issue deleted
  • Action: Related issues (linked issues)
    • Action: Delete issue

However in practice this doesn't work, since the 'Issue deleted' trigger arrives after the issue has been deleted and removed from JIRA's search indexes.

0 votes
Marc -Devoteam-
Community Champion
January 9, 2024

Hi @Chloe Allison 

Welcome to the community.

It might that the following rule, will achieve this.

I just made a mock-up as I didn't have time to test it.

Screenshot 2024-01-09 at 17.49.31.pngScreenshot 2024-01-09 at 17.49.38.pngScreenshot 2024-01-09 at 17.49.45.png

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

Atlassian Community Events