A script to add on Jira Script Runner "Script Listener" with method "Issue Updated" to send automatically a message on Slack when a attachment is add on task to user with identifier on task label
I hope help you all as helped me and my team! :)
Hi ecor, thanks for the interest! This solution was Implemented for Jira Cloud, but if your server is able to connect with the Slack Api by network, it will works correctly
Hi Gabriel, do you know if it's possible to send a notification to a user on slack based on a JQL?
I want to alert all the assignees of the issues that are with SLA brenched.
Hi @Vanessa Sousa interesting use case!
Sadly I can't help on the Script Runner side. However, in case you aren't able to get the experience you are after with Script Runner the product that I work on (http://stratejos.ai) solves exactly the type of problem you are asking about.
Our scheduled messages let you run recurring messages based on JQL filters. In your case, stratejos would:
Feel free to send me an email at jamesm@stratejos.ai if you would like to get set up with a trail.
James
Hi Vanessa! That's a good question. JQL is a search based language, like a SQL for Jira, so it's unable to do other methods that are not related specifically with query's, but in Script Listener with the Groovy language, you can use programmable methods of the language as the same way you can input JQL querys on Groovy methods that will run they for you and then filtering this SLA parameters and selecting the required users as you need. At this post link, I have developed many others scripts that send Slack messages that can help yoi. For your case, you can use this script on Script Console, to use always you want, or use on Scheduled Job to run this methods periodically.
Hello James
I'm having some problems connecting with Stratejos.
Can you help me?
Hi @ecor_clima would be happy to :)
If you send me an email jamesm@stratejos.ai I can walk you through getting set up with a scheduled message in stratejos.
James