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
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

454 views 0 9
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