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:

  1. Trigger: Field value changed

    1.  Custom_field

  2. Action: Refetch issue data

  3. Action: Log Action

    1. Log message: {{triggerIssue.Employee details.child.value}}

  4. Condition: IF block condition

    1. {{triggerIssue.Employee details.child.value}} equals 1

    2. Action: Edit Issue field

    3. Emp Name (custom_field): XXXXX

  5. Condition: ELSE IF block condition

    1. {{triggerIssue.Employee details.child.value}} equals 2

    2. Action: Edit Issue field

    3. Emp Name (custom_field): XXXXX

By following this approach, you can ensure that it should automatically populate the Employee Name as XXX.

Updated on March 12, 2025

Still need help?

The Atlassian Community is here for you.