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

Automation to add labels based on text content checkboxes

Hope Man
Contributor
October 17, 2024

Hi.

 

Goal:

I want to give devs a fixed list of labels within a table that they can easily apply to the page without them having to remember the exact names of the labels or having to scroll down to the bottom. The naming must be exact because I want the capability of clicking on a label and displaying all items with said label and to filter on it via CQL.

 

What I tried so far:

image.png

At first I was looking for a label or tag macro/ plugin that could be inserted into the text area to provide such a feature i.e. I thought maybe somebody at Atlassian thought of this already, but there seems to be none.

Then I went and tried my hand at Confluence automation, but it seems to be impossible to find these checkbox items if they are not assigned to a person and I also tried to use CQL like this:
image.png

But so far no luck.

Has anyone solved such a use case without resorting to marketplace plugins?

 

 

1 answer

0 votes
Tessa Tuteleers
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 18, 2024

Hi @Hope Man , 

You can use the checking / unchecking of a task itself as a trigger for automation, and then get their body and status (complete or incomplete) as smart values of the task to conditionally add and remove (don't forget that part) labels. 

However, this will not work for tasks that get checked during creation of the page itself, so that might be a blocker for you. 

You could make pre-labeled templates for your devs to use, that way you can create a nice format for each different type of document, and label them automatically upon creation.

Hope this helps, 

Tessa 

 

Joerg
Contributor
October 29, 2024

Hey. 

Thanks for the reply and sorry I did not respond. I was out sick unfortunately.

You can use the checking / unchecking of a task itself as a trigger for automation, and then get their body and status (complete or incomplete) as smart values of the task to conditionally add and remove (don't forget that part) labels. 

Are you sure that this works for tasks not assigned to a user?

Tessa Tuteleers
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 30, 2024

Hi @Joerg , 

Hope you are feeling better. 

I just tested it and it does trigger the rule, feel free to play with it and let me know if it doesn't work

Like Joerg likes this
Joerg
Contributor
October 30, 2024

Thanks. Will try when I have time on my hands.

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.
November 18, 2024

Hi @Joerg 

I am following up to learn if the answer from @Tessa Tuteleers solved this question for you. 

If so, please consider marking this one as "answered" to help others reading this thread in the future find solutions faster.  Thanks!

Kind regards,
Bill

Joerg
Contributor
November 19, 2024

I'm swamped with other topics at the moment. Sorry, @Bill Sheboy .

Like Bill Sheboy likes this

Suggest an answer

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

Atlassian Community Events