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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Asked 8 hours ago in Confluence

What are the resources that you use to learn more about Atlassian Products?

I am gathering information about resources available for Atlassian product knowledge transferring for a presentation in our local Atlassian User Group. I want to group them in four categories From ...

55 views 3 4
View question

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