Hi,
I've been trying to test if we can run an automation rule to archive a pages based on a "label". But I've had no success. Could someone please help me with the steps I need to take ?
Currently this is what I've tried but the rule keeps failing: What am I doing wrong?
Hi Veronica,
Welcome to Atlassian Community!
My guess is that it is your IF condition that is stopping your automation. Instead of comparing two values use the CQL option instead and set it to this CQL:
label = 'to-be-archived'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you are on the Premium or Enterprise Plan you can now use page conditions instead of the CQL, see the new announcement about it here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's most likely the {{labels.name}} in your if block. labels returns a list, so the equal condition isn't going to work, you can try switching it to 'contains'.
{{label.name}} – the name of the label
{{labels.name}} – a list of names of all the labels that were added or removed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you kindly share the audit log for the automation process, Were there any errors reported, and is there a specific reason why the archive action was executed twice before sending the email.
Thank you.
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.