The issue is moved additionally to another project via issueMutable.setProjectObject(targetProject) and issueMutable.setNumber(nextId). Issue type is defined identical for both projects. Only different workflows. I use workflowManager.migrateIssueToWorkflow with correct workflow and correct new status. issue is moved, but shows not transaction buttons.
If I move the issue manually, everything works fine. If I manually move the issue after workflowManager.migrateIssueToWorkflow to another project and back, transaction buttons are shown. What is missing in the first place?
(and yes, there are good reasons to move the issue from one project/workflow to another - I don't need any discussion about that here - there are many questions where this already is discussed)
Solved: The script did set a wrong workflow for specific target project I used for testing my script. After retrieving that workflow from workflow scheme of target project, everything worked out fine.
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.