How to set a checkbox field to a value using a post function?

I have a custom field checkbox with values yes and no and would like to get a certain value (yes) checked upon a transition. How can I do this using a standard post function? I tried using "set custom field value" but must have missed something.

4 answers

1 accepted

This widget could not be displayed.

hi anja.

can you please try using "Update Issue Custom Field" instead ?

it requires to have the Suite Utilities installed which you can find here

This widget could not be displayed.

Hi,

 

Using Update Issue Custom Field post-function, what value do you give for for selecting a check-box?

 

Thank you

This widget could not be displayed.
  1. Configure the custom field.
  2. Edit options.
  3. Click 'edit' for the option that you wish to set.
  4. Look at the URL in browser bar and scroll to the end.  You should see something like '&selectedValue=11001'.
  5. Set custom field value in the transition to '11001'.

Hi David,

 

That's a great fix and saved me hours of pain. Thank you!

My only question... do you know how you would untick the value using this method?

e.g. when value is '11001' = True, when value is null = False

Thanks in advance if you are able to help!

The JIRA Suite Utilities plugin provides additional workflow post-functions:

  • Clear Field Value - This post function will clear values from a Radio/ Checkbox custom field.
This widget could not be displayed.

I'm having the same problem. In my case I wanted to enter multiple values in a multiple value field. There is no documentation on how to do this in a post function. I tried entering just one in the "custom field value" text box and using "append" checkbox. But it fails when I try to do the transition.

Are you using any sort of quotes or just entering the value?  I'm using the Workflow Enhancer for JIRA (free) and it seems to work.  I'm not getting it to do multiple values though.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

150 views 2 0
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