You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Absolutely! There's two parts to this question.
The really easy one is your REST endpoint, see https://library.adaptavist.com/entity/file-upload-to-rest-endpoint?tab=dataCenter
The second one is about writing it to a file. That's a bit more "fun" because you start having to think about where the file might go, what you do if you get duplicate names, what the upload structure is, and what you're actually going to do with the file.
But the same script does show you how to write to a temporary file and attach it to an issue, so you should be able to adapt that block of code to write to where you need it!