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

Automation rule to add/remove labels periodically

Darrel Jackson
Contributor
February 12, 2024

Hi all,

We have a bi-weekly meeting where we create meeting agendas via the meeting notes template. We create agendas for 2-3 meetings in the future. We use a page properties report to show the next meeting agenda and we apply a label of "upcoming" to the next meeting agenda page.

We manually add "upcoming" label to the next page and remove "upcoming" from the previous page.

However, maintaining the "upcoming" label is cumbersome and error prone.

I'm trying to construct an automation rule to automatically update the label but I'm struggling.

I started with a scheduled trigger to check the labels daily. But then I tried to find pages with the "upcoming" label but the Lookup Pages rule has very few filters and "label" isn't one of them.

Can anyone help?

1 answer

1 accepted

1 vote
Answer accepted
Kseniia Trushnikova
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 7, 2024

Hey @Darrel Jackson,

Try to use Branch rule / related entities with cql "label = upcoming" instead of the Lookup pages action:

Screenshot 2024-03-07 at 14.15.43.png

Will it work?

Darrel Jackson
Contributor
March 10, 2024

That answer is very helpful. It has opened my eyes up to CQL - which I'd not used yet - even though I use JQL regularly. I still can't come up with a solution but I do have a few more tools now.

Like Dave Rosenlund _Trundl_ likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events