We will definitely need EXACT steps that you are wanting to accomplish. I think you are wanting to use some type of automation or process in a workflow transition to remove a link on an issue. And then possibly add a new link based on some type of information. But all of your comments are very vague.
Automation for Jira could very well do what you need to do, but we must have more information.
the idea is to update the exist issue that is linked already to the issue, with new issue
unfortunately, there is no update method to do this for me , I think to do this is to remove the exist then create again to the new issue
(in workflow script runner(by groovy))
check for issues that are link to [x issue name type]
If there some issue that is link to x, remove it then create new issue link with the new issue,
if the result of step1 is null? create link directly
I just check this documentation and I found this
void removeIssueLink(IssueLink issueLink, ApplicationUser remoteUser)Removes a single issue link We do not check for permission here. It should be done before this method is called. For example, in the action.
issueLink- the issue link to remove
remoteUser- needed for creation of change items
IllegalArgumentException- if the supplied issueLink is null.
but what does they mean by
For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events