Using Automation for Jira to set a select field based in a value of child value from a cascading field.

Platform Notice: Cloud - This article 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. Ex: If we select Employee Details and then enter Employee Id 123, it should automatically populate the Employee Name as XXX.

Environment

Jira cloud

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.


Last modified on Dec 10, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.