We are looking for a scripting way to take the current issue, get the Linked Issue URL and copy that to the Comment field.
Example use case:
An issue is Closed as a Duplicate of another ticket. User determines that the issue needs to reopen because the duplicate issue was not a duplicate and did not fix the issue.
So user reopens the ticket, we want the script to grab the link and copy it to the comment field and then clear the link field.
I've searched and searched but can not make this work. I can get the condition like:
issue.getAsString("Resolution") == "Duplicate"
and I'm trying to print out something like:
<% "The Linked issue did not solve this duplicate issue:" issue.getFieldById("issuelinks-issues") %>
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.