Hello,
We are trying to build a Script Runner field which is going to return the target project while moving an issue.
It seems that such information is not in the issue context. We also know that the target project is set in an object of type com.atlassian.jira.web.action.issue.MoveIssue, but we don't know how to fetch such an object.
Do you have any idea?
Thanks
Welcome to the Atlassian Community!
There is no way to do this. By definition, Jira does not know what project you are going to move an issue to until you tell it during the move operation.
Hi Nic,
Thank you for your answer.
We do give the target project in the first screen of the Move Issue. In the next screen, we would like this scripted field help filter on values related to the target project in an AQL filter.
Does it seem feasible to you?
Regards,
Yoann
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A scripted field is used to present data based on existing data, they are not for asking for data during an action.
There is no way to filter on a value that you have not yet given to Jira - it needs to be told what you want to do.
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.