Automation to remove issuelinks not only by type

Katja Arendt
Contributor
November 27, 2024

Hi :)

I have an Automation between Jira Software and Jira Products discovery.
This automation checks for bug tickets in the development board that are in the active sprint and adds them to an idea in Jira Product Discovery to represent the work on bugs in our roadmap in product discovery. 

 

Therefore it adds the bugs as deliveries to the idea in product discovery. 

For that I used the Edit issue action with following code:

 

 

{

"update":{

"issuelinks":[

{

"add":{

"type":{

"name":"Polaris issue link",

"inward":"is implemented by",

"outward":"implements"

},

"outwardIssue":{

"key":"REQ-607"

}

}

}

]

}

}

 

But now I need the same thing to remove the issue link again because I always want to use the same Idea in JPD which gets updated automatically but not filled up with hundreds of bugs. As soon as the bug is done and the sprint ends this bug should be removed from the idea as the delivery ticket. 

I tried to use "remove" but it doesnt work. 

1 answer

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.
November 27, 2024
Katja Arendt
Contributor
November 27, 2024

i guess i cant do that where i am creating the automation it says only available is the operation add or copy

Screenshot 2024-11-28 081712.png

Screenshot 2024-11-28 081750.png

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.
November 28, 2024

HI @Katja Arendt 

I think, I might have found you a workaround, see Remove-link-using-JSON 

Katja Arendt
Contributor
November 28, 2024

Yeah I found this too. But as it is said there. It will cause a lot of changes. I just dont get why there is no delete or remove operation available there. But ok. Hoped there is an easy solution. 

 

Thank you :) 

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