Using Automation for Jira to set a select field based in a value of child value from a cascading field.
Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.
Summary
Using Automation for Jira to set a selected field based on a child value from a cascading field.
Example: If we select Employee Details and then enter Employee Id 123, it should automatically populate the Employee Name as XXX.
Solution
This solution involves the following Automation Rule Structure:
Trigger: Field value changed
Custom_field
Action: Refetch issue data
Action: Log Action
Log message: {{triggerIssue.Employee details.child.value}}
Condition: IF block condition
{{triggerIssue.Employee details.child.value}} equals 1
Action: Edit Issue field
Emp Name (custom_field): XXXXX
Condition: ELSE IF block condition
{{triggerIssue.Employee details.child.value}} equals 2
Action: Edit Issue field
Emp Name (custom_field): XXXXX
By following this approach, you can ensure that it should automatically populate the Employee Name as XXX.
Was this helpful?