Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How to set "Labels" field value?


I'm trying to create a new ticket with the field "Label" filled with some labels, like this:


I have an array of labels to the "Label" field:

String[ ] labels = new String[ ] {"ABC","135"};

and I'm trying to fill the "labels" field with this array, like this: 

IssueInputBuilder inputBuilder = new IssueInputBuilder(projectKey, issueType, issueSummary);

inputBuilder.setFieldValue("labels", labels);


But I'm having an error:

Exception in thread "JavaFX Application Thread" Any of available transformers was able to transform given value. Value is: [Ljava.lang.String;: [Ljava.lang.String;@3b6b1644


How can I do this?

0 answers

Suggest an answer

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

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

172 views 1 6
Read article

Atlassian Community Events