Forums

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

Question related to Xray

Shohef Sarang August 8, 2023

When uploading multiple test cases using Import functionality. I am getting an error message 

errors": [
{
"elementNumber": 0,
"errors": {
"otherErrors": [
"No operation with name 'set' found. Valid operations are: ADD,SET,REMOVE,EDIT,COPY"
]
}
},

],
"issues": [],
"warnings": []
}

 

How do I resolve this issue ? any help will be useful 

1 answer

0 votes
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 9, 2023

Hi @Shohef Sarang 

I suspect you use the xray import function provided by the app.

What type of import are you using csv or json?

Can you provide an example of your import file?

Shohef Sarang August 9, 2023

Hi @Marc - Devoteam 

I am uploading a CSV file. please find attached example of the CSV file. 

CSV file sample.gif
Configuration this in Xray. 
Configuration in XRAY.png

I have been doing this for a while never had this issue and error message. So I was wondering anything in the settings I need to change. 

Thanks and Regards

Shohef

Like Marc - Devoteam likes this
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 9, 2023

Hi @Shohef Sarang 

I see no issues in your file and mapping.

I would reach out to Xray and present them the issue. They might be able to see if there is an issue on their side.

Like Shohef Sarang likes this
Shohef Sarang August 9, 2023

Thanks @Marc - Devoteam 

I did raise this with Xray, their response is the issue lies with Atlassian. Since they haven't made any changes to there application. So, lets see how this issue gets resolved. 

But thanks so much for looking into my issue as it was driving me crazy.

Goodluck!

Regards

Shohef

Like Marc - Devoteam likes this
Steven Moar
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!
October 12, 2023

This has just happened to me also. Just thought i'd write this up with what i found.

Nothing different about the content of my csv than usual. Myself and other members of the team have uploaded in the past few days successfully with the same template/format.

It successfully imported 4 tests out of 20, for some reason it did not like the others. I cleaned up and deleted cells outside the content, I re-worked the content and simplified, reduced length of content, etc. to no avail!

Eventually after replacing every field in turn with 'test', it imported fine again. For some reason i found that it was the Component/s field that was the problem. I reset everything else back to contain my original test cases and just used Component='test' and the other 16 tests imported OK.

I felt that these Component names have been used frequently before with no issue.

After success with 'test', i went back to try again and retested with the 2 components that were failing and finally got it working.

I think that if you are matching to an existing Component, the casing matters. I originally had 2 Components and in my sheet I had them written as :

  • Component One
  • COMPONENT2

which failed

and when i changed to:

  • COMPONENT ONE
  • Component2

, which matched existing components used for prior tests, it worked!

Like Marc - Devoteam likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events