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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published 4 hours ago in Marketplace Apps

The 7 hacks of highly successful automation

...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...

26 views 0 7
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