JJupin/Simple Issue Language - is it possible to create file or clear existing file?

Hello,

Is there any possibility to create an empty file on the JIRA local drive using SIL/JJupin?

 

I'm trying to create some data reports using JJupin. I wanted to dump the returned string to CSV file and attach it to the issue. However I can't seem to find a way to create an empty file using SIL.

I tried createDirectory with path+name+file extension, yet it only created a directory with the dot in the middle of the name (well, that was obvious, but I tried anyway cheeky ). I could also create blank file manually on the disk and then each time fileCopy it to the desired location, however it seems quite a dirty hack to me - I'm afraid I could somehow copy not empty file and end up with some garbage in the beginning of the report.

1 answer

1 accepted

Hi Blazej,

 

I have added a new internal feature request in our backlog to create a new empty file. We don't have a release scheduled, but I'd expect it in late December or early January. We can give you a snapshot if you need it sooner, as soon as the routine is finished.

 

Best regards,

Silviu

Thank you for the quick answer. That's just great. No no, there is no rush. We will wait for the official release :) We have to first upgrade all our Kepler plugins on production instance to 3.0

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,311 views 14 20
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot