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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.