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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Chrome Extension - Uncheck Boxes

I have a QA coworker who manages a large flight check list out of a confluence page.  They recently mentioned how big of a pain it is to manually uncheck everything for a new run so I thought I might be able to create a Chrome Extension that will allow them to hit a button to uncheck everything on the confluence page.  I am having a hard time figuring out exactly how to do that though. 

So far I have tried removing the "checked" class from the "li" nodes which updates the appearance but does not actually update the state (i.e. if you leave the page and come back they are all checked again).  I have also attempted triggering a click event on each of the "li" items but that does not appear to have any impact on the check list items.  It looks like the check box, which is a background image, is the only clickable area but I am not sure how to trigger a click event on these to update checkbox status.  Does anyone have any idea how to do this with standard javascript or jQuery?

1 answer

0 votes
Diego Atlassian Team Dec 24, 2018

Hello there!
Developing a extension for the browser can be a challenge. However, there is another way for you to accomplish this task. We will need to first install Confluence Source Editor:

Confluence Source Editor

After this is installed, we can follow like this:

1- Go to the page where the task list is present
2- Enter edit mode
3- Click the < > symbol in the top right corner of the toolbar
4- In the Find text field, type >complete<
5- In the Replace text field, type >incomplete<
6- Click to Replace all
7- Publish the page

After this, all checked checkboxes should be empty again! Please keep in mind that using the symbols < > in >complete< will avoid removing text that is not connected to the tasklist itself. Further, you must replace with >incomplete<. If you replace with only incomplete, this will not work.

What we are doing is editing the source of the tasklist instead of triggering the activity via UI. So this should be performed with some care. Always check that the text being replaced and the new text are correct.

Let us know your thoughts!

Hi Deigo!  Thanks for your response on this.  I do not see the "< >" symbol that you mentioned in the toolbar which I assume means that we do not have the "Confluence Source Editor" enabled on our instance?  I am going to track down whoever is responsible for this in our IT group to see if we can get it installed but in the meantime is there any options for doing this  using the "Insert Markup" option?

Diego Atlassian Team Dec 27, 2018

Hi again David! If you do not have the  "< >" symbol in the top right corner of the editor toolbar, there are two possible causes:

- Your instance does not have the plugin
- The plugin is disabled

Currently, we still need the Source Editor to perform this. However, I was able to find this request:

CONFSERVER-37184 - Uncheck list of tasks

The request tackles exactly the feature that you need for your instance. You could vote and watch this report. Voting increases the report visibility and by watching it you will be up to date with everything posted there.

Sorry about the delayed response, there's been a lot of people in and out of the office which made running this down a bit slower.  I have verified that we are not on an internally hosted version (i.e. we are on the shared web version) and my understanding of this plugin is that it's only available for self hosted environments.  Are there any alternatives to this option?

I authored a Chrome extension that does this; available here:

It is for Confluence Cloud, hasn't been tests on Confluence Server edition.

You can review the code on Bitbucket to see how it works:

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

402 views 23 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you