I have a field in Jira whose content varies; sometimes there are 5 sets of characters, sometimes 4, and sometimes just 1. The point is that I need the automation to make a request for each set that is contained, and they are separated by commas.
Hello @Hais_ Pedro
Welcome to the Atlassian community.
If it is a text field you can use an Advanced Branch option like the one I described in my answer here
https://community.atlassian.com/t5/Jira-questions/Example-email-for-email-to-case/qaq-p/2935496#
Hi @Hais_ Pedro -- Welcome to the Atlassian Community!
Adding to Trudy's suggestion...
Are you using Jira Cloud or Jira Server / Data Center? The Advanced Branch feature is only available for Jira Cloud. Here is the suggestion to add that for Server / Data Center: https://jira.atlassian.com/browse/JIRAAUTOSERVER-749
How do you want to use the results of the different endpoint calls? Specifically, are they:
For #1 with independent calls, Trudy's suggestion to use an Advanced Branch will help.
For #2, that is not possible with one rule. The reason is branching over multiple things is done in parallel and asynchronously, with no guaranteed processing order or even when the branch will complete. That is, the steps shown in the rule after the branch may start before the branch completes.
If your scenario is #2 or #3, please explain the problem you are trying to solve. That is, "why do this?" This will provide context for the community to offer more suggestions.
Kind regards,Bill
Thanks for welcome, by the way, I'm BrazilianI tried using the Advanced Branch, but it wasn’t working as expected, as shown in the screenshots.
The {{issue.customfield_10131}} field contains the values "19897317751, 19722939565, 19786147933".
{{issue.customfield_10131}}
I attempted to call the smart value within the Advanced Branch, but it still remains blank.
and after the calls, as it would be the end of the automation.
If you want to execute the branch steps for each value in customfield_10131 you need to use the split function in the Advanced Branch step.
{{issue.customfield_10131.split(",")}}
It looks like you're new here. Sign in or register to get started.