Forums

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

How do I export tests with test steps in Zephyr Jira for Cloud

Liz Niada
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 13, 2015

Hi, I need to export tests from Zephyr JIRA for Cloud. I can see how to do it for all tests, but excluding test steps, or how to do it for test cycles, showing execution details, where each individual test step goes into a separate row in excel. However, I just want to export all tests under a project (not execution details, just the tests including steps, so they can be reviewed).

I created a new issue query with all the tests in it, and tried to add the test steps column, so I could then export. However, when I go to add/edit columns, none of the Zephyr columns are displayed, which I guess is the root of the problem.Please help - I'm going round in circles!

Thanks.

 

3 answers

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 Champions.
April 24, 2014
That would mean the field would no longer accept text. It would be safer and easier to just use a numeric field.
0 votes
Mizan
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 Champions.
April 24, 2014

You can create a text type customfield and add a javascript validation to the field which will allow only alphanumeric entries.You can do this by adding the javascript in the field description

What about the existing values in the customfield ? you will need to migrate those values to the new customfield. refer this doc

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 Champions.
April 24, 2014

You need to create a custom field *type* in a plugin.

Numeric field is one type of custom field, as is text, select, multi-select and so-on. You need to write a plugin that will provide "number or text" type field

However, the mixed data type really isn't supported in Jira's back end - it kind of expects you to have one type of data, so you can't really use the standard API calls, you'll need to write your own. Or just store the information as a string irrespective of type.

Or, just use a string, as that can store numbers or text already.

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 Champions.
April 24, 2014

I've just thought again.

You've got a compounded problem here. Whether you swap to a simple text field or write a new field, you are not going to be able to change the type of the existing field. You can add a new field of the new type, but you'll need to migrate your data into it.

You can change field types in the database, if you are very very careful (proven backups, Jira offline, reindexing afterwards), but this could be a bit of a trek because number fields are stored in one way and moving to a string or whatever structure you write is probably going to require data migration.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events