Run script after comment/file upload

Dominik Rekawek October 17, 2017

Hi,

 

Is there any way to run a script a script after user adds comment/upload files?

Eg. in case of situation when we would like to notify predefined group of subscribers about interaction, and give them a chance to use REST API to download attachment, comment.

2 answers

0 votes
Dominik Rekawek October 18, 2017

Unfortunately it is not an option for me, I need more generic way to solve it w/o plugin. I cannot use standard notifications as I need to send information about updates only in certain states.

0 votes
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.
October 17, 2017

In order to run a scrip you need something that can run it. I use ScriptRunner. It is possible to handle Issue Updated/Issue commented events anfd check are there any changes to attachment and then do smth.

Something similar is here https://community.atlassian.com/t5/Answers-Developer-Questions/JIRA-file-attach-listener/qaq-p/496563

Suggest an answer

Log in or Sign up to answer