Is it possible to alter the allowed values of a custom-field checklist using the REST API? I've found the create/edit meta workarounds which allow me to see the already set values, but I am hoping to alter them programatically. At the moment I get an error:
"Options cannot be added or removed from a Checklist when updating it via REST. You must provide all items originating from options."
If not is there a custom-field type that is similar that does allow this?
issue.update(fields={
"customfield_49002": [
{
"checked":'true',
"option": 'true',
"name":"Container was correctly deployed in QA",
"id":76502,
},
...
]
})
You'll need to send id, checked and option:true. Not sure about name, could be optional.
I also think you need to send all items from the checklist in one batch.
Hi,
Same problem for me.
Are you using the Checklist plugin from Okapya ?
Did you find a way to add a new item in a checklist using REST API ?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.