I'm attempting to create an issue in JIRA through the REST API that has a KCF - Pro custom field on it. It's a KCF - Autocomplete Multiple issue picker.
I'm having trouble figuring out what JSON is expected. I have {"update":{"customfield_10812":[{"set": ... }]}}
but I don't know what goes in the ... area.
Are there any examples of this anywhere?
This is the custom field meta data from the issue type:
Key: customfield_10812, {"required":true,"schema":{"type":"array","items":"string","custom":"com.keplerrominfo.jira.plugins.keplercf-pro:sil-options-cf","customId":10812},"name":"Builds","hasDefaultValue":false,"operations":["set"]}
Community moderators have prevented the ability to post new answers.
Hi Andrew,
Unfortunately, at this moment, you cannot populate a KCF Pro via Rest API. This is an improvement already existing in our backlog, so we plan to implement it.
Alexandra
The backlog is not visible, it is on our internal JIRA, but we'll inform you when the feature will be added. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I vote for this :-). We will use it when it will be available.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well, I dont know if it's resolved. Maybe this will help. It's working version for KCF - Single Autocomplete custom field:
pickedUser = "{label='" + userLogin + "', value='" + userLogin + "'}"
And then in jsonbuilder:
customfield_10573 : pickedUser,
I found in database what should I write in string. So probably if you will search a table containing the custom field values, you will know how to prepare the json builder.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.