Dear all,
I'm looking for a way get the Jira Portfolio Plan Name or Plan Id of an issue
E.g. inmagine an Epic which is assigned to/which is Part of a Jira Portfolio Plan with Plan Name "Plan ABC" and Plan id "123".
So how could I get that information (give me the Plan Name or Id of that Epic (and null if it's not assigned to any plan)) either as a scriptrunner jql function or programmatically via the scriptrunner groovy script console.
I know there exists this jql function "issuekey in issuesInPlan(123)" so I could do something like "issuekey in issuesInPlan(123) and issuetype = Epic" and than check wether the Epic-Key is in that resultlist, but I need a more direct approach at a lower cost.
Thank you in advance,
Best regards,
Tim