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

This widget could not be displayed.

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)

This widget could not be displayed.

Can anyone answer this question?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

530 views 7 6
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