When importing a TestNG report to XRAY, I get this error:
{"error":"Error assembling issue data: Field \u0027customfield_10019\u0027 cannot be set. It is not on the appropriate screen, or unknown."}
This import was working for a test project. But now does not work for a production project seemingly because there are many custom fields defined there.
I was able to find custom field 10019 via an JIRA API call, and it is a custom field for a Test Execution.
{
"id": "customfield_10019",
"name": "Tests association with a Test Execution",
"custom": true,
"orderable": true,
"navigable": true,
"searchable": true,
"clauseNames": [],
"schema": {
"type": "array",
"custom": "com.xpandit.plugins.xray:testexec-tests-custom-field",
"customId": 10019
}
},
It appears there's an association between Issues and screens. The screen(s?) which seems to correspond to this custom field does not have this field tab in it. I'm puzzled at why I need to know all these internals for an import, especially if I don't use the field, and it is not a required field.
{jiraURL}/plugins/servlet/project-config/{project}/fields
Any help is appreciated here.