You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hello,
I have created a form in Confluence that creates a Jira issue. I am trying to include coding for 'components' to assign specific individuals within JIRA. However, when I include the code, the issue is no longer sent.
FYI- The field that assigns components in JIRA is a drop-down menu.
This is the code without 'components' (within IFFTT integration rules Macro):
{ "fields": { "project": { "key": "CPDG" }, "summary" : "[entry.fldproject.escapeJSON]", "description" : "Project Description:[entry.fldproject.escapeJSON]\nClarity ID:[entry.ParentProject]\nParent Project ID:[entry.ParentID]\nStart Date:[entry.StartDate]\nFinish Date:[entry.finishdate]\nPDG:[entry.PDG]\nPDG1:[entry.PDG1]\nLocation: [entry.Location]\nPhase: [entry.ProjectPhase]\nProject Goal[entry.ProjectGoal]\n\n", "issuetype" : { "name": "Request" }, "priority" : { "id": "5" }, } }
and this is the code with components:
{ "fields": { "project": { "key": "CPDG" }, "summary" : "[entry.fldproject.escapeJSON]",
"components" : "[entry.PDG1]", "description" : "Project Description:[entry.fldproject.escapeJSON]\nClarity ID:[entry.ParentProject]\nParent Project ID:[entry.ParentID]\nStart Date:[entry.StartDate]\nFinish Date:[entry.finishdate]\nPDG:[entry.PDG]\nPDG1:[entry.PDG1]\nLocation: [entry.Location]\nPhase: [entry.ProjectPhase]\nProject Goal[entry.ProjectGoal]\n\n", "issuetype" : { "name": "Request" }, "priority" : { "id": "5" }, } }
Is there something i am not doing correctly? Why does the ticket not get submitted to JIRA when I add 'components' to the code?
Thank you!
Sam
Hi
The format that components field expects is an array of name/value pairs - see for example this answer https://community.atlassian.com/t5/Answers-Developer-Questions/Set-Component-field-through-REST-API/qaq-p/542960
Alex
Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond. A long time favorite, Team Cale...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.