Is it possible to move issues between projects using Automation for JIRA? I can't see any obvious action that will allow me to do this.
The reason being is we have a central service desk in London where all issues are logged. We have customers specify which "location" they are based at and the team use that to send to the right projects afterwards.
I wanted to save some time by having Automation for JIRA query that field and then move issues between projects appropriately.
Is this a limitation of JIRA Clouds API or just something that hasn't been included within the addon?
Hey there Reiss,
Yeah, like Nick said, there's no easy way to move an issue with Jira's APIs.
With Automation for Jira, the recommended way to deal with this is to use the "Create Issue" action and copy over the fields you're interested in and then delete the original issue. It could looks something like:
Let us know if you need more info!
Mostly, it's Jira (and this applies to server too). Moving an issue is not a trivial thing. Jira needs to check the issue has valid configuration for the new project and possibly ask about how the user wants to amend the data to make it fit the new configuration (or at least warn people of data loss)
It's a pig to code for and worse when you do have different configs.
Generally, if you think you want to move issues regularly, you've got a process that doesn't fit with the way Jira works, and it would be better to look at setting it up so you don't have to move it. A location field might solve this for you?
Happy New Year, everybody! What better way to kick off 2022 than with a new Marketplace Partner Spotlight ✨ This month, we're getting to know Daniel Franz, co-founder of Fine Software. Fine Software ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events