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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Script Runner - Send Attachment for Slack


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! :)

Check on:


is this solution for cloud or server?

Like Gabriel Tessarini likes this

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.

Like Gabriel Tessarini likes this

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 ( 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: 

  • Check every morning (or every hour) for issues outside of SLA
  • If matching issues are found ping a channel (or DM the assignees of those issues) 
  • Recipients would have the option to view the issue or update status directly from Slack 

Feel free to send me an email at if you would like to get set up with a trail. 


Like # people like this

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 I can walk you through getting set up with a scheduled message in stratejos. 



Log in or Sign up to comment