How do I get fields from ConfiForms to populate a JIRA ticket?

I have a form created in Confluence with ConfiForms and I can get it to make a ticket as long as I do not try to line the fields of the form up with the fields of the screen on the ticket I am trying to create. I keep getting a JSON error. Here is the setup:

Confluence 5.7.4

ConfiForms 1.9.11

JIRA 6.3.1

Here is the script I used in the IFTTT macro: 2 Options neither worked

{
    "fields": {
       "project":
       { 
          "key": "WIKI"
       },
       "summary": "[entry.summary]",
       "issuetype": {
          "name": "New Space Request"
       }
“customfield_22370” : “[entry.spacename]”
“customfield_22371” : “[entry.key]”
“customfield_22372” : “[entry.purpose]”
“customfield_22373” : “[entry.admin]”
“customfield_22374” : “[entry.source]”
“customfield_22375” : “[entry.existing]”
“customfield_22376” : “[entry.category]”
“customfield_22377” : “[entry.restrictions]”
   }
}

or

{
    "fields": {
       "project":
       { 
          "key": "WIKI"
       },
       "summary": "[entry.summary]",
       "issuetype": {
          "name": "New Space Request"
       }
“customfield_22370” : “${spacename}”
“customfield_22371” : “${key}”
“customfield_22372” : “${purpose}”
“customfield_22373” : “${admin}”
“customfield_22374” : “${source}”
“customfield_22375” : “${existing}”
“customfield_22376” : “${category}”
“customfield_22377” : “${restrictions}”
   }
}

2 answers

1 accepted

I reached out to ConfiForms support.

Sorry Daniel, missed your question on Atlassian Answers and thanks for contacting us directly. Yes, it is totally possible with ConfiForms plugin but requires a bit of an attention to details, as the data provided must be in format JIRA expects (the intermediate JSON must be correct) Some links to help: http://wiki.vertuna.com/display/CONFIFORMS/Creating+JIRA+issue+with+ConfiForms http://wiki.vertuna.com/display/CONFIFORMS/Virtual+functions (which help you to construct the JSON in a correct format)

Can anyone answer this question?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

837 views 23 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you