Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,368,739
Community Members
 
Community Events
168
Community Groups

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

Edited

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

Atlassian Community Events