Rule for updating custom field at sprint completion

Yves MOUAFO November 21, 2024

Hello, I want to design a rule to automate the update of a custom field at sprint completion.

Let consider  two Number custom fields CF1 and CF2.

For all the tickets involved in a sprint, I want the rule to set CF1 with CF2 value (i.e CF1:=CF2) when I complete this sprint. 

For that, I have configured the rule as follows:

Trigger: Sprint Completed => selection of Board

Action: Edit Issue => selection of CF1 => Value : {{issue.customfield.11540}} 

(where 11540 is CF2 ID).

After saving my rule, I have the following error:

" This component may be incompatible One of the following needs to be produced earlier in the rule by the trigger or with a 'for each' branch for this component to work:

 - Issue

"

Can you please provide me with the correct rule settings?

Thanks in advance

Kind regards

 

1 answer

1 accepted

1 vote
Answer accepted
Dick
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 21, 2024

Hi @Yves MOUAFO 

At the start of an automation, the automation needs to know the (list of) ticket (s) onto which it has to do something. In your case it cannot fathom that a sprint has a number of tickets in it, so you have to tell that to your automation by using a foreach clause. 

Something in the line of foreach issue in the completed sprint would do the trick. 

Happy automating

Dick

Yves MOUAFO November 21, 2024

Hi @Dick thank you for your answer.

I have tried and it works now.  

Dick
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 25, 2024

Hi @Yves MOUAFO , 
I'm glad you have conquered Automation. If you mark this question "answered", other people with a similar question can navigate more easily towards the answer as well. 

Thanks,

Dick

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events