Exporting cascading select fields in excel

HI All

I have a cacading select field, which i want to export to excel (i am on jira 6.1)

If i use the JQL, <cascading-field-name> is not null and then export the results then the cascading field appears in my excel (i am doing export all fields)

But, if i do not pass this parameter, which means, i am returning field values which are null and not null, in this scenario, the cascading field does not get exported to excel.

How do i get round it?


2 answers

1 accepted

1 vote
Accepted answer

Simple answer is to keep including the clause that says "not null"

The reason this is happening is a long-standing and annoying design oversight in Jira. When you define a search that includes any fields that are NOT valid for some of the project/issuetypes that could be returned by the search, it silently drops the field. Not prints it with "n/a" or blank, but completely removes the column. Even when you've got data on other issues, and even when you're not returning any of the project/issuetypes that don't have the field.

So, the answer is to limit your search to where the field is valid. It is by project and issuetype, but you are accidentally doing it by saying "field not null" as well, because that limits your selection to places that do have the field.

It's wrong, it's broken, and I've been whinging about it for a decade, and I'm not alone <sigh>

thanks Nic for the explanation, that helps


You can also use the following in your search to return all the fields even if they are not valid for a specific issuetype. 

issuetype in (standardIssueTypes(), subTaskIssueTypes())

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 15 hours ago in Jira

How you can achieve compact and easy-to-maintain workflows in your JIRA( Server)

This approach requires you to have the JIRA administrative rights. The main aim of this article is to help you achieve an organized, easy-to-maintain workflows in your JIRA instance thereby, reducin...

143 views 0 0
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you