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.
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:
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?
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:
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:
Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...
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