Delete links of a specific relation to a specific project

Johannes Fünger February 19, 2025

Hi there,

may you can help:

We have issue in a project A  being linked via link type "relates to" to issue of different projects (B,C), If the status of the issue in A changes I would like to delete the "relates to" link to an issue in project B and keep the linbk to the issue inm project C.

How could I implement it. Any help is highly appreciated.

Kind Regards

 

Johannes

2 answers

0 votes
Richard Cho - ServiceRocket
Contributor
February 19, 2025

It's not a super elegant solution because you're limited to what automation allows you to do but I was able to get it somewhat working with this: link

For this to work properly, you will need to import this as a global automation and update the project references in the condition and JQL lookup as necessary.

Some possible caveats depending on your use case:

  • This automation rule removes all 'relates to' links to project B - not sure if this will be an issue or not.
0 votes
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 19, 2025

Hi @Johannes Fünger ,

you need a custom post function to do that. Do you have ScriptRunner app?

Fabio

Suggest an answer

Log in or Sign up to answer