How to download a filter in excel file(.xls) using jira commands

Hi, i have tried using below commands to downlaod a created filter in a excel file.

But excel file does not download the data correctly as when we do ""export all" manually.

Using jira commands excel having jumbled data. but my requirement is to downalod it in organized way, same as manual.

ira.sh --action getIssueList --search "filter = 98233" --outputFormat 999 --file "./test.xls"

jira.sh --action getIssueList --jql "project = APPRN AND filter = $filterNum" --outputFormat 998 --file "./test.xls"

jira.sh --action exportData  --jql

jira.sh --action getIssueList --jql "project = SWQB AND filter = 22904" --outputFormat 998 --file "./test.xls"

 

Thanks in Advance.

 

 

1 answer

Hi @sukhveer jangra,

 

Please try using the below command, we have used the file as csv file (comma separated values file) which can then be used to be opened in an excel sheet and saved as excel file.

 

-v --action getIssueList  --file "/Users/getIssueList.csv"  --jql "filter = 'Sample Project Filter'" --server http://<domain-name>/ --user xxxx --password xxxxx "$@"

 

Please try to use the above command and let us know if you are able to get the output as expected.

 

Regards,

Vijay Ramamurthy

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

36 views 2 1
Join discussion

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