I'm trying to utilize the built-in Service Desk Automation tool in conjunction with the Create on Transition plug-in.
I'd like to utilize the Service Desk Automation tool for a simple If/Then.
Trigger: Issue Created
If field = y
Then update Issue field, Environment = x.
That works fine.
Then I want to set a custom field on a new issue utilizing Create on Transition. Custom Field will equal the Environment field from the original issue (x).
I have Create on Transition working successfully, however it is not setting this custom field. (It is setting other custom fields successfully.)
If I instead use a Post Function to set the value of Environment, then it works great (but then I can't utilize If/Then conditions.)
So I'm suspecting that this is an order of operations problem. The SD Automation is not running before the Create Issue Post Function.
Does anyone have any ideas about where SD Automation fits within the Post Function operations?
In your list of Post Functions, you have, normally a list of events / actions that occur (just a stock list):
I assume your automation picks up as soon as the "Creates the Issue Originally" event occurs.
You may want to look into JIRA Misc Workflow Extensions instead, as you can create a small groovy script that follow the if/then condition and auto copy the information between fields.
If you want to go a step further than simply create an issue on a certain condition, but also keep it synchronized with the original request afterwards, you could also choose an issue synchronization app from the marketplace.
Since I'm working for K15t, I'd obviously recommend Backbone Issue Sync, but that's a choice you have to make.
If you're interested in a discussion of your use case or demo, let us know at email@example.com.
...be more productive while being fun to use at the same time. For some, getting started can be a bit intimidating. This is especially true if Jira Service Desk is your first exposure to Atlassian...
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