Hi,
I am trying to find the user who created / deleted an issue link via custom code in script runner. For an IssueEvent object, I can use getUser() method. Similarly, for IssueLinkCreatedEvent or IssueLinkDeletedEvent, I am trying to figure out the best way to identify the user who created/deleted the link. Based on the user, I must do some custom handling.
Can you please let me know if there is a way to accomplish this?
Thanks,
Archana
Hello,
Best way to do this is to get the change history of the issue.
Iterate through the change history and search for the field "Link". From there you need to parse the "from" field, "to" field and get the user who performed the change:
Regards,
Elifcan
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.