I am developing a plugin for Jira, which imports issues from a json string.
Problem: If I import a issue from the json that already exists but with a different project, I want to update the current project to the new one. Unfortunately I haven't found any working solution yet.
Question: How can I move a issue to another project programmatically in java?
My Jira Version: Jira Core and Software: 7.3.7
Thank you for your efforts!
Martin
It is not straight forward because the projects might have separate workflow, issuetypes, security schemes etc.
If they are all the same, the solution is pretty simple. You just need to update the issue's project field using IssueService.
Ok, I realized that there are differences in the settings of the project. So a workaround for me is to delete the old issue and create a new one in the right project.
Thank you very much!
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.