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

sukhveer jangra July 26, 2017

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

0 votes
Deleted user May 14, 2018

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
TAGS
AUG Leaders

Atlassian Community Events