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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.