Forums

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

Not able to get labels from confiforms rendering

yogesh bhatt May 9, 2023

Hello,

 

I am getting below error 

  • com.atlassian.sal.api.net.ResponseException: Error communicating with Jira, {"errorMessages":[],"errors":{"labels":"data was not an array"}}

"description": "[entry.Description]",

"assignee": {"name":"[entry.RFDesigner.id]"},

"labels": {"label":"[entry.RequestType.id]"},                          

"issuetype": { "name": "Story" } } }

1 answer

1 accepted

1 vote
Answer accepted
Alex Medved _ConfiForms_
Community Champion
May 9, 2023

Hi @yogesh bhatt 

According to REST API documentation for Jira, the "labels" field needs to be an array... and this is what this error clearly tells you..

"labels": ["[entry.RequestType.id]"],

Alex

yogesh bhatt May 9, 2023

Thanks for resolving Alex.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events