How to unset checkbox with post function (JMWE)


I need to somehow unset specific value from checkbox options. I don't want to use additional add-on except (JIRA Misc Workflow Extensions and JIRA Suite Utilities). Is this possible?


  • Original state: checkbox1: optionA = true, optionB = false, optionC = true
  • Requested output: checkbox1: optionA = false, optionB = false, optionC = true

I'm trying to use Set field value (JMWE add-on) post function but it seems that syntax is allowing me only set specific value not unset. Because you need to add something like that [{"value":"optionA"}] value=constant, optionA=name of the value.

I would expect something like selectedValueID:[true|false] e.g. 12800:false




3 answers

yep, looking for the same thing


Hi Brian,

I managed to do my task in a different way but if you want to unset - use a post-function Set field value (JMWE add-on) and then use Nunjucks annotations and use for cycle and if construct. You need to just remove defined value from a collection (array).

 For example How to set MyCheckboxTitle value to false:


{% set output = "" %}
{% for item in CheckboxGroup %}
    {% if item.value != "MyCheckboxTitle" %}
        {% set output = output+item %}
    {% endif %}
{% endfor %}


 Be aware that the output MUST be in this kind of format:  



So may be you need adjust slightly the row "{% set output = output+item %}". I don't test it. Use e.g. Description field to see what is in the output variable.

Hope it helps.


Thanks Martin!  i'll give it a try

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,811 views 11 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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot