How to create Jira issue using ConfiForms and on submission it should populate issue in jira
Asked by Jira Tutorial:

Hi All,

I'm new to this ... I want to create a jira issue using confiforms and when the form gets submitted then it should automatically populate the issue in Jira.. I tried many ways with some examples given in this community but it doesn't worked for me. Below is the link which I followed ...

.. <https://wiki.vertuna.com/display/FORMS/How+to+create+a+form+to+create+a+Jira+issue+from+Confluence>

The script given in the link is copied as it is but even then it is not working..Created a jira server using API token and used it in ConfiForms IFTTT Macros but its not working.... If anyone already worked on this, please suggest the steps that can be helpful to me....

Thank you in Advance

regards,

Manohar


Answers:
author: Alex Medved _ConfiForms_
body: Hi

Could you be more specific what exactly is not working for you? Any errors you see?

Example on our wiki is up to date and working fine...

Alex

comments: author: Jira Tutorial
body: Hi Alex,

Thanks for your early response... my issue is whenever i submit a form in confluence page, it should populate an issue in Jira but on submission it is not creating any issue in jira. It shows the data which is updated through form. Even it is not creating the jirakey/Id. Moreover we are not getting any errors after submitting the form. In ConfiForms IFTTT integration rules, i selected the action item as "Create a Jira issue" and server as "Jira-server", etc. But it is not working....

For your reference, Im attaching the screenshots of my form...![form3.png](https://community.atlassian.com/t5/image/serverpage/image-id/108032i525D61B7111C46E6/image-size/large?v=v2&px=999 "form3.png")![form2.png](https://community.atlassian.com/t5/image/serverpage/image-id/108034i879C1F160DD1C6E5/image-size/large?v=v2&px=999 "form2.png")![form1.png](https://community.atlassian.com/t5/image/serverpage/image-id/108033iBA410DDB6F375EC5/image-size/large?v=v2&px=999 "form1.png")

Hi Alex, could you please suggest the steps how to populate the issue in jira when we submitted the form in confluence page using ConfiForms.

Regards,

Manohar


author: Alex Medved _ConfiForms_
body: Please put JSON mapping you have into the "code" macro (wrap it into the code macro)

Also, when using new Confluence editor please set the form name parameter for ConfiForms IFTTT macro to link it to the form


author: Jira Tutorial
body: Hi Alexa,

Thank you for your response...As suggested by you , we applied above steps in our form. Now when we are submitting the form, we are getting the connection issue. Already we have created a jira server using API tokens. Below is the error code wee are getting..

"Could not complete request (Create JIRA Issue) using configuration  
id = be1b243a-8216-4eb4-8577-44b61e64534d."

For your reference, Im sharing the screenshot and code..

![error-2.png](https://community.atlassian.com/t5/image/serverpage/image-id/108205iCC95EB2B90C56EDB/image-dimensions/442x255?v=v2 "error-2.png")![error.png](https://community.atlassian.com/t5/image/serverpage/image-id/108204i9ED7F4B470DF6745/image-dimensions/401x265?v=v2 "error.png")

Alexa, I would request you to help on this issue.

Thanks,

Manohar.


author: Alex Medved _ConfiForms_
body: I cannot tell more than the error message you see - you cannot use basic auth with Jira cloud as it says and should use Atlassian access tokens

See the URL mentioned in the error message and generate an access token to Atlassian Jira

(<https://confluence.atlassian.com/cloud/api-tokens-938839638.html>)


Tags: cloud

confluence-cloud