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 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
Published yesterday in Jira

Mission-critical battery manufacturer fulfills FAA software requirements with Commit Policy Plugin

EaglePicher Technologies is a leading manufacturer of battery systems for diverse industries like defense, aviation, space or medical. As they operate in highly regulated industries, keeping a clear ...

165 views 0 2
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