Hi there,
I have some Automation set up so that when an issue transitions to "Status A" a Checklist template is added.
I've now set up an additional rule so that if the issue goes to Status B and then Back to Status A the Checklist will not be overwritten. (only issues with no checklist will get the template.)
Each item on the checklist has a status, these can be, done, failed, open, skipped, in progress.
What I would like, when a issue with an existing checklist transitions to Status A, all 'failed' items on the list go back to 'open'.
So far this won't work....
{{Issue.Checklist Text.replaceAll('failed','open')}}
and i've tried a bunch of different things with no success.
Any help would be massively appreciated.
Hi @Lucas Fyffe
The replaceAll() function uses a regular expression for matching and the replace() function uses plain text. Perhaps try using just the replace() function to update the field.
Or, please see the documentation for using replaceAll() with that addon: https://docs.herocoders.com/checklist/change-item-to-custom-status-on-transition
And...would you please show your rule image, including how you are trying to use that replacement?
Kind regards,
Bill
Thanks for this Bill.
This is an image of the automation
I've just tried with the replace() function but no success.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually i got it to work! I had ' instead of " grouping my target and replacements!
Thanks for your help, turns out it was Replace that works, Replace All does not!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well done; I am glad to learn that helped!
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.