Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

What's wrong with my JSON

Jill Vieregge September 8, 2023

This is for a corporate-managed project in Work Management.

On creating an epic, I'm creating a child (which works).

I'm trying to copy a custom field from the "trigger" issue which is the epic. The Customer field is not visible in the Choose Field to Set drop down.

But my JSON is incorrect (I've tried a few things).

{ "fields":
  {
   "customfield_11964": {{triggerissue.customfield_11964}}
  }
}

What's wrong with it? 

thanks

1 answer

1 accepted

0 votes
Answer accepted
Kseniia Trushnikova
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 10, 2023

Hi @Jill Vieregge,

Is it a single-user picker field? Try to use this:

{
"fields": {
"ccustomfield_11964": { "id": "{{triggerIssue.customfield_11964}}" }
}
}
Jill Vieregge September 11, 2023

Its a date field. 

{ "fields":
{
"customfield_11964": { "id": "{{triggerissue.customfield_11964}}" }
}
}

Error is now: The Target start must be a string (customfield_11964)

Kseniia Trushnikova
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 11, 2023

@Jill Vieregge, this should work for date picker fields:

{
"fields": {
"ccustomfield_11964": "{{triggerIssue.customfield_11964}}"
}
}

Let me know if it helps. 

Jill Vieregge September 11, 2023

Yep. Thanks

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events