I am trying to set the assignment of a case during transition based on multiple field entries.
At the point of creation of a case, I would like to automatically set the assignee based on the Custom Field "department" selected, and where the Custom Field "Cost" relating to these departments.
For example, where "IT" dept is chosen and cost = more than 2k it goes to Person A. If less than 2k, to Person B.
Where department "Marketing" and cost = more than 5k -> Person C and less than 5k -> Person D
Where department is anything else, cost value is ignored and is just assigned to specific individuals
Only these individuals would then be able to move the case to the next status
During creation of the case, I have set up two automatic subtask creations where the Custom Field "Vendor Type" is set to the value "New". No subtasks are created for any other value.
I would like to automatically assign these subtasks based on type - is this possible?
As the case moves to the Approval stage, I would again like to set the Assignee based on the Custom Fields of "department" and "cost", but pointing to Person A and Person E
I am probably trying to do too much for each step, but I am hoping at least some of it may be possible?
Hello! If you know how to write scripts on groovy, then it is not at all difficult to do.
Here is a link to the scripts templates for Mygroovy: https://github.com/mailru/jira-scripts/tree/master/JIRA%20groovy%20templates
Just copy the pieces you need logically and compile your own script.
Alas, I am lacking in the required technical savvy for such things, but I have other skills which may be handy here....
I shall simply hassle my devs until one of them caves :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.