The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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