Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Issue Checklist Free - Changing Checlist item status automation

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.

2 answers

1 accepted

0 votes
Answer accepted
Bill Sheboy
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.
Nov 14, 2023 • edited

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

image.png

I've just tried with the replace() function but no success.

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!

Like Bill Sheboy likes this
Bill Sheboy
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.
Nov 15, 2023

Well done; I am glad to learn that helped!

Suggest an answer

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

Atlassian Community Events