Forums

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

Getting ERROR while import Xray issues as "{"error":"Error creating issues in Jira!"}"

VenkatramiReddy.Karumuru
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!
August 30, 2022

Hello Team, 

We were using cloud version of JIRA\Xray, as part of Test Results import we are getting ERROR with Xray endpoint and JIRA endpoints as well.

As part of Organization QA process, we have few custom fields on Xray Test Issue.

<property name="component" value="component 1" /> <!-- components: Components is required. -->
<property name="customfield_11602" value="11110" /> <!-- customfield_11602: Product is required -->
<property name="customfield_11937" value="13123" /> <!-- customfield_11937: Platform is required. -->
<property name="customfield_12317" value="13829" /> <!-- customfield_12317: Test Type is required. -->

we have provided the testinfo by considering  documentation as below.

[

    {

          "testtype": "Generic",

          "fields": {

            "project": {

                "key": "QPI"

            },

            "description" : "Automated Test Sample Test Case-1",

            "components" : [

                {

                    "name": "component 1"

                }

            ],

            "customfield_12317": [{

                "name": "Unit testing"

 

            }],

            "customfield_11602": [{

                "key": "N/A"

            }],              

            "customfield_11937": [{

                "key": "Digital Business Unit"

            }]

         }

    }

  ]

 

Getting ERROR as for JIRA endpoints :https://xpand-support-sandbox.atlassian.net/rest/api/3/issue

,"customfield_12317":"Specify a valid 'id' or 'name' for Test Type"

Getting ERROR as for Xray endpoints :- 

https://xray.cloud.getxray.app/api/v2/import/test/bulk 

"{"error":"Error creating issues in Jira!"}"

attached few required files\logs.

0 answers

Suggest an answer

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

Atlassian Community Events