Forums

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

Hw to restore the steps from the script

elena sefansky
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!
September 9, 2021

During execution of the test script, our user changed the issue type from test to task which deleted everything under test details and test executions.

Is there any way to restore those steps? This script was the only original copy and had over 200 important steps! Please help us. Thank you

1 answer

0 votes
Nic Brough -Adaptavist-
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.
September 9, 2021

Welcome to the Atlassian Community!

It's hard to tell what might be restorable, as we don't know how your stuff is being stored in Jira.  I would guess you are using a test management app of some sort, rather than plain Jira, but I can't tell which one it might be (Zephyr, Qmetry, Xray etc, or even an app that plugs into a remote test-management service)

The way Jira itself stores data on issues means that there is one thing that springs to mind as maybe worth trying, but without knowing the full set up, I really cannot be sure. 

Jira stores field data on issues inside its data store, and it's the configuration that determines whether data is visible to people or not.  Imagine a simple field that will hold some text.  In one scheme, the field is shown, in another, it is not.  If you create an issue using the first scheme, you'll be able to put text into it, but if the configuration is changed so that your issue now uses the second scheme, the field will vanish.  However, Jira does not destroy that data, it's just not seen.  Swapping back to the first scheme will make the field reappear, with its content.

The config schemes in use are selected based on the issue type.

So, in this case, IF issue type "test" has a scheme that shows test details and executions, but "task" is on a different scheme that does not show them, then simply changing the task back to a "test" would make them all visible again.

BUT, that is very dependent on whether your tests are working like that, which I don't know.

elena sefansky
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!
September 10, 2021

Thank you so much for you reply! We do use Zephyr Squad test management application. The type Task was changed back to Test and it did not have any test details unfortunately. Is there any way to restore this script from the database?

Elena

Suggest an answer

Log in or Sign up to answer