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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

83 views 1 0
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