The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing a checkbox value

Brian
January 16, 2020

I have a checkbox custom field with 3 values (A, B, C).  How can I check to see if A is checked?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
John Funk
Community Champion
January 16, 2020

custom field = A

Brian
January 16, 2020

I am looking at something like

if (issue.customfield_123.value[0].checked) {

...

}

John Funk
Community Champion
January 16, 2020

Are you using Automation For Jira?

Brian
January 16, 2020

JS and REST

John Funk
Community Champion
January 16, 2020

Sorry, that's going to be outside of my expertise.  :-(