I am trying to add a related link to JIRA via Confiform and cannot figure out why this won't work. Any help is appreciated.
{
"fields": {
"project":{ "key": "XTFGUJ"},
"priority": { "name": "[entry.Priority.label]" },
"summary" : "[entry.InitiativeTitle.escapeJSON]",
"customfield_24100" : "[entry.StartDate.jiraDateTime]",
"customfield_24101" : "[entry.EndDate.jiraDateTime]",
"update":"issuelinks":[{"add":{"type":{"name":"Relates", "inward":"relates to", "outward":"relates to"},"outwardIssue":{"key":"XTFGUJ-71"}}}]},
}
}
THe issue would be with the bolded text
Looks like a broken JSON mapping... This page has an example example https://confluence.atlassian.com/jirakb/how-to-use-rest-api-to-add-issue-links-in-jira-issues-939932271.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.