We have been trying to set up a script that changes the assignee when a custom field called issue type is set to a particular choice (eg bug). so far we have the below;
2014-11-04 12_13_32-Update Workflow Transition Script Post-Function Function - JIRA UAT.png
however our script doesnt execute and we feel it may be an issue with the variable names. we've tried using full names for the assignee and we've tried using the custom field id number with no sucess.
thank you for any help
Hi Jamie: I have a similar issue as Jason. I've managed to get the condition working and the workflow successfully auto-transitions to the second state. However, the assignee does not change. For our additional code, we have: issueInputParameters.setAssigneeId('jassaad') Where jassaad is a user name. I've checked the logs as thoroughly as possible and there aren't any exceptions listed nor any scriptrunner-related entries within the ticket-creation timeframe (as the script is meant to execute on ticket creation). I'm certain it's the correct log as earlier exception errors were included before we had fixed the condition. We're running JIRA 6.3.3 and ScriptRunner 3.0.6. Any help would be greatly appreciated. Thanks!
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