I’m trying to update a Connection global field in Jira Product Discovery using the Edit issue fields (advanced JSON) action in Automation.
The field is a Connection field that links to other JPD ideas, and I want to append a new connected idea without overwriting the existing ones.
I’ve tried the following JSON:
{
"update": {
"customfield_15205": [
{
"add": {
"id": "{{issue.id}}"
}
}
]
}
}I’ve also tried variations using:
set instead of addkey instead of idThe automation completes successfully with no errors, but the Connection field is not updated.
Has anyone successfully updated a JPD Connection field through Automation JSON?
Any examples would be greatly appreciated.
Hi Daniel. Connection fields don't hold a value in the custom field, the link between ideas is stored as a normal Jira issue link, so Edit issue (advanced JSON) on customfield_15205 has nothing to write and runs clean without changing anything. Swap that action for Link issues and link the current idea to the target one, picking the link type that backs that Connection field (JPD creates a dedicated link type when you set the field up). Creating the link is what makes it show up in the Connections field. Best, Gabriela
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.