Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Opening an attachment with Scriptrunner

Andrea Garcia
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 25, 2019

So I want the user to submit an attachment with their ticket and with a scriptrunner script open the file, read it, and run a couple of functions on it.

I haven't been able to find any information about opening files from jira and reading it somewhere.

Any advice, would be super appreciated!

1 answer

Suggest an answer

Log in or Sign up to answer
1 vote
Anton Chemlev - Toolstrek -
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 14, 2019

Hi, Andrea

Check out this link - https://community.atlassian.com/t5/Answers-Developer-Questions/Getting-binary-data-from-attachment-files-in-Jira-using-Java/qaq-p/538723

 Using this you can get and analyze content from your file.

TAGS
AUG Leaders

Atlassian Community Events