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 votes

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
Community showcase
Published Nov 29, 2018 in Jira

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,090 views 0 8
Read article

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