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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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.