Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Integrating Jira with ConfiForms

Jay April 14, 2025

Hello,

 

I tried reading the other forums, but I am unable to have my ConfiForm create a Jira ticket when the form is submitted. I am using the fields below in the IFTTT macro to create a Jira issue:

 

{

"fields": {

"project": {"key": "JiraBoardKey"},
"issuetype": {"name": "Task"},

"description" : "[entry.FieldName]",
"priority" : {"name": "[entry.FieldName]"},

}

}

Please advise if I am missing something to complete this integration. I have updated the FieldName in my actual form.

I am also getting the following error when I test the form, but I do still see the request being logged. What could be causing this?
Error: 

  • Unexpected error while saving the record. Please contact your Confluence support team for assistance. Details are available in the server logs

1 answer

0 votes
Alex Medved _ConfiForms_
Community Champion
April 14, 2025

Hi @Jay 

Start with a https://wiki.vertuna.com/spaces/CONFIFORMS/pages/1212664/Creating+Jira+issue+from+Confluence+with+ConfiForms, it is a good starting point in this complex area

ConfiForms offers a JiraHelper that will create a backbone for your mapping

This way it would be easier to have the fields between ConfiForms and Jira mapped easier

From the mapping I see I can spot few errors:

  1. project key is usually an ALL CAPS acronym
  2. priority field does not seem to look right... unless of course the value in ConfiForms field for the FieldName field matches exactly the name of the priority field option and you also want the same value to be passed to the description field
  3. Also the summary field to my knowledge is always a compulsory field in Jira, but is missing  in your mapping

Alex

Jay April 16, 2025

Hi Alex,

 

I was able to accomplish the Jira ticket being created when the form is submitted and rectify the error, but I am unable to have the Jira key that gets created for each submission be emailed to the user. I have created an IFTTT rule to send the email, but when I test the form, the email I receive says "Your Jira ID is Jira Key: [JiraKey]. "

 

Do I need a ConfiForms Field Definition in the form for this? I currently have an IFTTT rule to create the Jira issue and an integration rules. I read through several of the other posted questions circling around a similar issue, but with not much luck. Can you advise what needs to be called in the email body so the key is recognized and emailed to the user? Earlier I was using [entry.autoID] for the Autonumber field which worked great.

Alex Medved _ConfiForms_
Community Champion
April 17, 2025

Do you save back the issue key? (an example)

Probably you should, into some hidden field which you can then access via [entry.field_name] or ConfiForms Field macro

Jay April 23, 2025

Hi Alex,

 

I am attempting to have a few fields from my form(including a Multi-select dropdown field) to be included in the Jira ticket, and have all of the other fields be included in the ticket as an attachment or some other field. Is this possible? If so, can you provide any reference?

Alex Medved _ConfiForms_
Community Champion
April 23, 2025

Do you have a corresponding multi-select field in Jira which you want to map to a multi-select field in ConfiForms?

Jay April 23, 2025

I do not, most likely due to permission issues. Is there any workaround for that? Can it be included any other way along with the attachment for the other fields?

Alex Medved _ConfiForms_
Community Champion
April 23, 2025

Really not sure what you are trying to do and what "workaround" you are asking to have. 

Where in Jira issue do you want to store the information from a ConfiForms multi-select field and in which format it should be stored? Part of the description/summary? Some other field?

Jay April 24, 2025

Alex,

 

In summary, I am looking to attach all of the fields from the from in the Jira ticket once it is submited based on the user input. Is that possible?

Alex Medved _ConfiForms_
Community Champion
April 24, 2025

Dont think it is a good idea to put that in a summary field, but may be the description field

So, yes, it is possible

What should be the format? How the description field should look like?

Jay April 24, 2025

It can either be formatted as a list, for example:
- Field 1(Category) - [Chosen category]

- Field 2(Bullet Point) - [Selected bullet point]

-Field 3(Multi-select dropdown) - [Selected fields]

 

Or if the selections can be attached as an attachment in the Jira ticket, that will work as well. Are either of these options feasible?

Alex Medved _ConfiForms_
Community Champion
April 24, 2025
"description" : "- [entry.Field1]\n - [entry.Field2]\n - [entry.Field3.asList]",

Not sure what do you mean by attachment - but you can send an attachment from ConfiForms to Jira (if that is a question)

Jay April 24, 2025

Thank you Alex, I was able to incorporate that into my form.

 

I had one more question - I have a field where the user can select the date they submit the form on(defaults to today's date). I then set the field to readonly so the user cannot change the field to a prior date. The field does become readonly, but the form throws an error. Would you happen to know why, or can I not set the simple date field to be readonly?

Alex Medved _ConfiForms_
Community Champion
April 24, 2025

What field (and type) you are trying to set "readonly" and how?

Jay April 24, 2025

I have a Field Definition with field type(Simple Date and defaults to today). Then I have a Rules for Field Definition where the action to execute is "set field readonly." This does make this field read only, but I can't submit the form if I add this rule.

 

Alex Medved _ConfiForms_
Community Champion
April 24, 2025

Why do you want to make a field read-only? I am not getting this. 

What error you see? 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events