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

Ability to iterate / loop over each value in multivalue field or issue field changes

    • 0
    • 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 Definition

      At this time we only can branch over a set of Jira issues and do a set of actions within the branch

      Suggested Solution

      Allow the ability to branch for each field value. Example use-cases.

      • For each version - send a webhook
      • For each component - create a sub task
      • For each user in custom field - send an sms
      • For each checkbox selected - create an issue
      • For number field create a sub-task for each
      • For each comment, perform an action.
      • For each request participant, add as customer

            [AUTO-103] Ability to iterate / loop over each value in multivalue field or issue field changes

            FWIW, I have solved my usecase (iterate over 2 multi-select fields and build a list and store it back in Jira which is necessary to call an API webhook) using script listener. 

            Rajaindra Balaebail added a comment - FWIW, I have solved my usecase (iterate over 2 multi-select fields and build a list and store it back in Jira which is necessary to call an API webhook) using script listener. 

            Many of the original use cases in this suggestion can be implemented with Advanced Branching in Jira Cloud since July 2021:

            https://community.atlassian.com/t5/Automation-articles/Branching-over-smart-values-in-Jira-Automation/ba-p/1741935

            Advanced branching is limited to up to 100 issues / items and processing is asynchronous and in parallel; thus it may not be a good fit for some use cases.

             

            Bill Sheboy added a comment - Many of the original use cases in this suggestion can be implemented with Advanced Branching in Jira Cloud since July 2021: https://community.atlassian.com/t5/Automation-articles/Branching-over-smart-values-in-Jira-Automation/ba-p/1741935 Advanced branching is limited to up to 100 issues / items and processing is asynchronous and in parallel; thus it may not be a good fit for some use cases.  

            Jar Lady added a comment -

            I need to iterate over smart values too. Hope this gets prioritized.

            Jar Lady added a comment - I need to iterate over smart values too. Hope this gets prioritized.

            Andrealiz Afable added a comment - - edited

            +1

            Would be useful for `Send a Slack Message` to multiple Slack channels using a Label Field!

            Andrealiz Afable added a comment - - edited +1 Would be useful for `Send a Slack Message` to multiple Slack channels using a Label Field!

            santiago added a comment -

            yes please !!

            santiago added a comment - yes please !!

            Yes please! 

            Johan Markström added a comment - Yes please! 

            +1

            +100000000

            John Perkins added a comment - +100000000

            +1

            Joy Grover added a comment -

            +1

            Joy Grover added a comment - +1

              89403358cf11 Charlie Gavey
              skahol Swati Kahol
              Votes:
              116 Vote for this issue
              Watchers:
              64 Start watching this issue

                Created:
                Updated: