Hi Yingi,
I can confirm that if you use ScriptRunner for Jira Cloud then you can write a script to run as a script listener and automatically add or remove issue links when a script is updated or created using a Script Listener.
Your script would need to check if the value of your required field had changed using the issue changelog, and we have an example of checking the changelog in the example here that you can use as a guide.
If the correct field has changed, then you can add an issue link, and the example here shows how to create an issue link on line 51.
Also, to delete a current issue link, you can call the Delete issue link API, passing in the ID for the issue link, which you can get from the issue object in the script listener.
You can use these examples to help create a script to solve your requirements.
I hope this information helps.
Regards,
Kristian
Hi @Yingyi
You can create new link types as a Product Admin:
See more information on this help page: Configure issue linking
If you then want to automate actions using linked issues, you can do this using Automation
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.