Subtask to be created only for the selected value on edit

Pillai_ Aarthi
Contributor
December 2, 2022

Hello All,

Scenario : After the issue is create, we have to select values from a checkbox ( name : products which has value Flights, Hotel and Rental car) and automatically a subtask is created 

I am able to create the automation and sub task is also created but 

for eg If i  have selected the value as Flights subtask is created but later if i add one more value eg Hotels then 2 subtask are created one for flights and other for hotels

If i have added new value subtask should be created only for that

Please let me know if i have to make changes to the code or any other ideas?

 

Screenshot 2022-12-02 at 3.18.10 PM.png

1 answer

1 accepted

0 votes
Answer accepted
Gaurav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 2, 2022

Hello @Pillai_ Aarthi 

As per the use case, you need a sub-task to be created for each value of 'Product' as selected by the user. Also, the options for 'Product' can be updated at a later point.

For this, you need to create a rule, which executes when the value of 'Product' is changed, and then use the smart value option for Advanced Branching and define it as per requirement. This will ensure that the action defined below are executed for every selected value.

Please find below a sample rule for a similar use case.

Kindly accept the answer if this helps.

- GG

Multiple issue creation on selected values.jpg

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events