Forums

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

I'm trying to create a JIRA ticket but i'm getting an error message back (issue gets created)

rodrigo.aguilar1
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 2, 2022

I'm having issues creating a JIRA ticket within confluence. Everytime i use the JIRA API, i get an error back:

  • com.atlassian.sal.api.net.ResponseException: Error communicating with Jira, {"errorMessages":["gh.epic.error.not.found"],"errors":{"components":"Component name '' is not valid","customfield_11066":"Option id 'null' is not valid"}}

The thing is, I'm not passing customfield_11066, and the component value is getting selected correctly when the issue is created in JIRA.  So i don't understand what I'm doing wrong to get this issue back. Also i'm unable to set the EPIC Link.

This is the simple code im using (this payload generates the issue above)

{ "fields":

{ "project": { "key": "BQEI" },

"reporter": {"name": "[entry.primaryContact]" },

"summary": "[entry.summary]",

"priority": {"name": "[entry.priority.label]" },

"description": "[entry.description.escapeJSON]" ,

"issuetype": {"name": "Story" },

"components": [{"name":"More Info"}],

"labels": ["confiforms"] }

}

If i used the following payload, i get the same error but the JIRA issue is not being created:

{ "fields":

{ "project": { "key": "BQEI" },

"reporter": {"name": "[entry.primaryContact]" },

"summary": "[entry.summary]",

"priority": {"name": "[entry.priority.label]" },

"description": "[entry.description.escapeJSON]" ,

"issuetype": {"name": "Story" },

"components": [{"name":"More Info"}],
"customfield_10001": "SVT Contact US tickets",

"labels": ["confiforms"] }

}

 

1 answer

0 votes
Alex Medved _ConfiForms_
Community Champion
February 2, 2022

Hi @rodrigo.aguilar1 and welcome to this community

Seems like the question is about creating Jira issues from ConfiForms forms

Do you have any automation on your project that may do some issue post-create functions?

Alex

Suggest an answer

Log in or Sign up to answer