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

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
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 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
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.
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

Suggest an answer

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

Atlassian Community Events