Hey all, hoping someone can help me with my problem.
I've been asked to set up a new Jira issue type with some automation.
The automation process should work like so:
On create screen the reporter selects from a cascading custom field called "IT Solution". From the parent they can choose either "HW" or "VM" then from the child they can choose the desired OS. When the issue is created the automation checks the value of the "IT Solution" field and depending on whether "HW" or "VW" has been selected creates a linked task to the responsible team.
The automation should in theory be: WHEN issue created, IF "IT Solution Parent" = "HW", THEN create linked task.
I have the options to try doing something with Scriptrunner or a postfunction with JSU or JMWE. I'm hoping it's a simple solution and I'm just too new to this to see it!
Hi @Laura Bennett ,
You will need to use the Advanced Compare condition as seen here. Just replace the custom field ID with the ID o your custom field. This finds the value of the parent cascading option - if you want the value of the child, then you will need to use {{issue.customfield_id.child.value}}
This covers the parent condition part. To set up the rest of the rule, you will use the Create Issues action, and under the 'Choose fields to edit', you will select Linked Issues, then choose the issue type and make sure the created task is being linked to the Triggering issue
Hope this helps!
This worked a dream, thanks for the help, I was definitely over thinking this!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No worries, glad I could help :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.