Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I am not able to create Jira through rest client when have custom field

Anirudh Bansal
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 5, 2023

I am not able to create Jira through the rest client when have a custom field

This is the code I tried

fleuntCreate.field(Field.SUMMARY, summaryDisplay);
fleuntCreate.field(Field.DESCRIPTION, sb);
fleuntCreate.field(Field.LABELS,labels);
fleuntCreate.field(Field.COMPONENTS,"-");
fleuntCreate.field(Field.VERSIONS,"-");
fleuntCreate.field("customfield_10089", Arrays.asList("value", "NPE"));






When giving an Object, getting an error it needs an Iterable type, and when Giving a list or Map type getting it needs an Object

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events