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

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

Can I create a checkbox and record time checkbox was ticked on a confluence page?

I'm currently making a confluence page containing a checklist of steps to take to complete a process. I want to be able to have a checkbox that a user can click to indicate that they have started a step and another to check when they have finished.

I've got the checkbox's in place but is there any way I can display the time of it being checked next to the checkbox and user who checked it without having to manually type it? I.e.

[ ] Start
[ ] Mark as complete

-------

[/] Started at 13:15 by J.Smith
[/] Completed at 13:40 by J.Smith

I've tried writing a JavaScript macro to append the time and user details to the html that contains the checkbox however I haven't found any way of being able to save that data to confluence so that it doesn't disappear on page refresh.

The only other solution I could think of would be if confluence stores the time/name of user who clicked the checkbox and perhaps I could retrieve that data and inject it into the html on page load? However I have not found suitable data (I believe the Page History records some updates but does not record individual checkbox state changes).

I'd really appreciate any help or ideas anyone might have. 

Cheers

1 answer

Checking of a checkbox is saved as a page revision in the Page History.  I am also searching for a way to do something like this and using the Page History is not the most convenient solution, but I wanted to point that out to you because you didn't seem to realize that and I thought it might help you.

If we could somehow query the page history, then that could be helpful, so I am looking into whether that is in the API.  If I find something, I will post back here.  If you have already found a good solution, please let me know.

Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

👁‍🗨 Confluence Team planning dashboard_Atlympics 🌈

Hi Atlassian's, How is your journey with #Atlympics 2021 so far....excited! Me too, same excitement. Here's my typical team planning and vision dashboard which I used to share to my management and ...

70 views 1 4
Read article

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