Hi,
I am trying to set up an automation (manually triggered) to create a new work item from an existing call.
This works for the basic fields, and copies the values across as expected, but the Service field (customfield_10075) is not available - I am therefore trying to add it as a JSON additional field, but can't get it working.
The JSON I have is:
{
"fields": {
"customfield_10075": "{{issue.customfield_10075}}"
}
}
but this returns error:
Unable to create issue
Can not instantiate value of type [simple type, class com.atlassian.jira.issue.fields.rest.json.beans.CustomFieldOptionJsonBean] from JSON String; no single-String constructor/factory method (customfield_10075)
I have also tried with issue.customfield_10075.value, but this errors in the same way.
Is what I am trying possible, and if so is it just a silly issue with my JSON?
Thanks in advance!
Richard