Hi guys,
I need help to implement an automation rule in my Jira project.
I'm running a Jira server instance and I need to write a rule at creation of a ticket.
When a ticket is created I need to set a custom field value (type string) to a different value depending on the value of another custom field.
I.e. the ticket is created by a customer with field A set to "Hello" then field B must automatically be set to "Holiday"
if field A is set to "China" then field B must automatically be set to "Developer".
As I said field A is string type while field B is Single Issue Picker.
I've tried with post-function in the workflow but I didn't manage to do it.
I have script runner plug-in installed.
Any suggestion?
Thank you in advance, Pas