Hi Community,
I want to create an automation rule that can create one or more tasks depending on the value(S) selected in a field.
Basically it's a access request request type where employees can request access to one or more applications.
In case they just select one ex. Jira, I will just use automation to assign the ticket to the app responsible. However, in case they both select Jira and Slack, i would like the rule to create two tasks, one for each which should then be assigned to two different app owners. The combination of apps selected by the different requestors can be many.
Any recommendations on how this can be achieved?
Best regards
Theis
assuming the field you get the values from is a select field or picker field I would recommend to work with a "for:each" branch iterating over the list from your field and creating a task in each iteration.
Further questions from my side would be:
Best
Stefan
Hi @Theis Joergensen , let me give you something to start with. If you get stuck let me know and I can actually create an example rule...
trigger - issue created
create a Variable to store the count (size) of the multi-select - numSelected = {{issue.Your Customfield.size}}
use if/else block...
IF the "numSelected = 1 if so the action would be to assign the current issue based on the value then exit rule.
then use repeated else if matches to test for a value and create sub-task if the value exists.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.