CSV Table Export Macro -- Specifing Export File Name

Is there any way to specify the name of the csv file that is created when exporting a table?  Currently it appears that the only name is "table.csv".  This causes problems in sql as "SELECT * FROM TABLE" (as table is a reserved word).  Additionally without any way for the user to specify a name, you wind up with table.csv, table(1).csv, table(2).csv, etc.

Using the id parameter would certainly be one way to handle this without needing to create additional parameters, although this doesn't address saving the table multiple times.  For example appending a timestamp.

Perhaps there is another macro that can surround the CSV Table Export macro.

Any help would be appreciated.

Thanks,

2 answers

Sorry I did not realise, I had to add this tag to my watchlist to get notified about questions.

I added a checkbox that enables you to select the table-id as filename. So check it out if you want and tell me if it works wink

And thank you very much for your feedback.

 

Ok it seems not to work on most instances. But I am working on it,

Should work now smile

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

365 views 0 6
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