We have the below script currently used in the JWT plug-in that we need to change to a postfunction in Groovy, ScriptRunner or Project Automation. Any suggestions are appreciated:
Issues returned by JQL query “issueFunction in linkedIssuesOfRecursive("issueKey =%{Issue key}") and issuetype="PS Change Request"” will be linked with issue link type is part of to every issue returned by JQL query issueFunction in linkedIssueOf("issueKey=%{Issue key}", "is part of").
It can very well be simplified using ScriptRunner's HAPI feature. Once I have more information, I can try to provide a sample script.
Could you provide more information, e.g., when does the post-function triggers the script? Is it during the Create transition or some other transition?
Are there any fields or conditions involved?
Thank you and Kind regards,
Ram
This post function triggers on issue creation.
There is no field condition applied.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.