To begin with, you need to think about how and when you want to do this.
1) Go from A to B, read the issue, make the decision that it should be in status C and move it automatically. Make sure you have a transition from B to C and write a listener to catch the "A to B" event.
2) Go from A to C direct - you'll need a transtion from A to C in your workflow, and a way to detect that the issue should move (e.g. a listener to catch the "create" event, and jump through the transition)
I think you need to clarify when you want to run this code, then we can help you more.
Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs