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_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
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