It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

KCF-Pro JIRA Rest API example

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"]}

2 answers

1 accepted

3 votes
Answer accepted

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

Thank you for the quick response! Is the backlog visible anywhere?

The backlog is not visible, it is on our internal JIRA, but we'll inform you when the feature will be added. :)

I vote for this :-). We will use it when it will be available.

Is this issue already solved ? 

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.

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

We want to hear from you! How do you use Slack and Atlassian together?

Hi Everyone! My name is Mina and I am on Atlassian’s Ecosystems Marketing team. Our team is focused on our technology partnerships and marketplace apps. One of Atlassian’s partners is Slack, who ...

107 views 1 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you