I am connecting the Create a new issue (V3) to a copilot agent. I am successful in setting up the tool 99%. I am receiving error" The connector 'Jira' returned an HTTP error with code 400. Inner Error: Issue fields are empty. Please ensure that all required fields is provided.
I assume that JIRA is not receiving some of the required fields it needs to actually create the item from copilot. My question is, how do I add those fields to the tool? I believe my JIRA instance, Project, and Issue Type ID is correct, but what about the 6 or 7 other required fields in JIRA? How can I add them to the copilot configuration?
Hey guys,
I am trying to set this up as well, but I can't get it working at all.
Can you maybe enlighten me as to what the correct configuration is? I get this error:
Error Message: The connector 'Jira' returned an HTTP error with code 400. Inner Error: Issue fields are empty. Please ensure that all required fields is provided.
It appears that we are supposed to setup the Item field as so:
item:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am dealing with the same error; did you have any luck working it out?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good morning, I am also dealing with the same error, did you manage it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Nick Braciszewski ,
Jira is rejecting the request because your project/issue type has mandatory fields, and Copilot is only sending Project + Issue Type. The other required fields are missing, so Jira returns the 400 error.
Try:
Check which fields are required for that issue type in Jira, then add and map those fields in the Copilot action.
Follow this :
In Jira, open the project → issue type → see all required fields (including custom fields).
In Copilot Studio, edit Create a new issue (V3) and add inputs for those required fields.
Map each input to the correct Jira field (use customfield_xxxxx for custom fields).
If users shouldn’t fill a field, give it a default value in Copilot.
Once all required fields are sent, the issue will create successfully.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is great Hari thank you! Could you possibly assist 1 step further.
It only allowed me to create 1 new input (UnresolvedDynamicType;Item) that is locked down to dynamically fill with AI. The setup (displayname, description, identify as, etc.) is not self explanatory as how to set up the mapping.
In the example of trying to map "Security Level" = "Internal" (or the custom ID version of that), where do I put these values?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Add the required Jira fields directly in the JSON body of the Create a new issue (V3) action.
Copilot does not map fields one-by-one. You must pass them manually using field IDs.
Example for Security Level = Internal:
{
"fields": {
"security": { "id": "xxxxx" }
}
}
For custom fields:
"customfield_12345": "value"
Use field IDs instead of names and give defaults where needed.
Once all mandatory fields are included in the JSON, the issue will create successfully.
Try these steps it may help you on this issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Look at this, maybe can help you
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.