Uploaded image for project: 'Automation for Cloud'
  1. Automation for Cloud
  2. AUTO-131

Add support for cascading select list fields, if add condition ,edit issue and display a field based on another field's selection and set it a mandatory option

XMLWordPrintable

    • 2
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Problem summary

      The Select List (cascading) field type is currently not supported in Automation for Jira.

      Workaround

      Workaround from https://support.atlassian.com/jira-software-cloud/docs/advanced-field-editing-json/#field-syntax-examples:

      {
         "fields": {
        "First Field" : { "value": "First value", "child": { "value" : "Child value"} }
          }
      }
      

      To copy values from the Select list (Cascading):

      {
        "update": {
          "Cascading": [
            {
              "set": {
                "value": "{{triggerIssue.fields.Cascading.value}}",
                "child": {
                  "value": "{{triggerIssue.fields.Cascading.child.value}}"
                }
              }
            }
          ]
        }
      }
      

      Reference: https://community.atlassian.com/t5/Marketplace-Apps-Integrations/How-can-I-copy-a-cascading-select-value-with-Automation-for-JIRA/qaq-p/585395

            89403358cf11 Charlie Gavey
            hnyeche Prince N
            Votes:
            54 Vote for this issue
            Watchers:
            44 Start watching this issue

              Created:
              Updated: