Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Scriptrunner getattachment added from transition screen

uvo3 main public name
Contributor
September 15, 2023

Is the some example exist for
How to get attachments files added from transition screen by ScriptRunner script in validator or post function
Adding attachment is not mandatory

1 answer

0 votes
Ram Kumar Aravindakshan _Adaptavist_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 18, 2023

Hi @uvo3 main public name

Could you please provide more information?. In your description, you mentioned:-

How to get attachments files added from transition screen by ScriptRunner script in validator or post function

What do you want to do with the Attachments? Do you want to download it somewhere, or do you want to add the attachments to an email?

Kindly clarify so I can provide a sample solution.

Thank you and Kind regards,
Ram

uvo3 main public name
Contributor
September 20, 2023

Hello,
I'm working on the script developing for sending comment and attachment to another system by soap api. 
Currently I implemented send comment and last attachment (calculated by creation time) in post function. I'm confusing , because the requirement for attachment is not mandatory field. 
I didn't find any ways to find approach getting file added to transition screen
Thanks in advance if you have any idea.

uvo3 main public name
Contributor
September 21, 2023

I'm going to use getAttachment method for last added file .
The problem is how to find which files was added.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.13
TAGS
AUG Leaders

Atlassian Community Events