Disable ability to Uncheck a checkbox

I want to add a checkbox that when it's checked will perform a specific action, but will only do it once per ticket. Is there a way I can make it so users are unable to un check the box once it's checked? 

2 answers

You could extend your workflow by a transition that points to the original status. When pressing the button a dialog appears where only the checkbox can be set (and a comment, because the comment appears on every screen). When proceeding you are back to the original status. Now, to avoid that this transition is done a second time, a workflow validator checks if the checkbox is TRUE. So the transition will get 'invisible'.

It's important not to display this checkbox in any create or edit screen.

0 vote
Alexey Matveev Community Champion Jan 24, 2018

If you are on Cloud then you could do it without an additional add-on. You could create a transaction to change the checkbox and put the Value Field condition for the transaction.

If you are not on Cloud then I am afraid you need to use an add-on like Power Scripts or ScriptRunner.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

580 views 1 18
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you