JIRA Automation with SIL Scripts
I have been developing JIRA workflows for a couple of years now and thought I might be able to help others by posting some reusable scripts. I have created these simple scripts using the JJupin plugin for JIRA. If you are currently not using the JJupin plugin for JIRA it is worth a look: http://www.kepler-rominfo.com/pages/solutions/jira-plugins Control Assignee based on Custom field Selection The following script will allow you to set the issue assignee based on the value chosen from a select field (custom field name = #{Project Type } ) - I have used this to automate a very complex workflow and its corresponding subtasks. If the #{User*} customfields are 'User Picker' field types this will allow for a very robust solution requiring little to no maintenance. if (#{Project Type } == "option1") { assignee = #{User1}; } else { if (#{Project Type } == "option2") assignee = #{User2}; e...