Hi All,
I have created a custom check box field (name : fruits) in my issue and I need to get the values of the boxes that are checked. I am using JRJC to query and get the issue.
I am able to retrieve the field using the API :
i.getFieldByName("fruits");
However, when I try to get the value for the checked boxes by using the following API :
i.getFieldByName("fruits").getValue()
I get the json containing the checkbox values like :
[{"self":"https:\/\/play-jira.atlassian.net\/rest\/api\/2\/customFieldOption\/10020","value":"Apple","id":"10020"},{"self":"https:\/\/play-jira.atlassian.net\/rest\/api\/2\/customFieldOption\/10021","value":"Strawberry","id":"10021"}]
I am interested only in the the value of this json. Is there any way by which I can get only the values of the checked boxes ?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.