Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Updating a custom field value

mhenslee May 28, 2012

I'm updating my plugin for JIRA 5.0.X and wanted to know what is the best way to update a value in a single-select list custom field via the Java API? I was using CustomField's updateValue and passing in just a String for the desired new value for the 4.3 version, but now it requires an Option/LazyLoadedOption object.

Before I re-invent the wheel, I figured I would ask the community :) - If you've updated your plugin, how are you updating custom field values?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 28, 2012

Try the answer here:

https://answers.atlassian.com/questions/18840/inserting-a-string-into-a-single-select-custom-field

You need an Option object instead of String.

TAGS
AUG Leaders

Atlassian Community Events