28 Jul 2023 04:57 AM - last edited on 23 Nov 2023 04:01 PM by Michal_Gebacki
I am using Jira for workflow.
I want to use array as a value in fields like this:
{{ [ {'name':'Dynatrace Source','id':'ari:cloud:graph::service/xxxxx' }] }}
I received this error:
"An error occurred: Unable to run validation, wrong fields: 'fieldSetters, 1, value'"
Is there a way to put array of json on Fields value ?
Solved! Go to Solution.
02 Aug 2023 08:43 PM
Hi @lutpiero ,
that json syntax does not look quite right for a json array.
Have you tried it with something like this:
{
"fields":
[
{
"name": "Dynatrace Source 0",
"id": "ari:cloud:graph::service/xxxxx"
},
{
"name": "Dynatrace Source 1",
"id": "ari:cloud:graph::service/xxxxx"
},
{
"name": "Dynatrace Source 2",
"id": "ari:cloud:graph::service/xxxxx"
}
]
}
BR,
Mark