There is Project A and Project B:
I create a link from A to B with blocks link. And there status in project A called: Change the project of linked issue.
Is it possible to do something that when the user clicks on this status, they will be able to change the project of linked issue? When the user transitions to the "Change the project of the linked issue" status, Jira will throw them to a page where they can move the project of the linked issue.
I thought about adding Custom Script Post Function to this transition.
Jira DC 9.4.3 + ScriptRunner
Moving issue is technically complex action. You need to change workflow, project, some ticket details like fields.
I think that moving issue is not possible in Jira or it will be very hard to achieve. I suggest to clone ticket and close old one.
Regards,
Seba
In Jira, a workflow transition cannot automatically redirect a user to the Move Issue screen. The Move operation is handled by Jira as a separate wizard, and it cannot be triggered directly from a transition. This is expected behavior according to Atlassian.
Moving a linked issue to another project automatically during a transition is technically possible with ScriptRunner using IssueService.move(). However, this performs the move in the background and does not show the Move UI. It also requires that the target project, issue type, and field configurations are compatible; otherwise the move will fail.
If you want the user to manually open the Move screen, the supported approach is to show a link or instruction on the transition screen or through a UI panel:
/secure/MoveIssue!default.jspa?id=<issueId>This does not redirect automatically but allows the user to open the Move wizard themselves.
Summary:
– Transition → automatic redirect to Move screen: not possible
– Transition → automatic background move: possible with ScriptRunner
– Transition → show Move link to user: fully supported approach
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.