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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Sil script to determine when priority changes - kick off a web hook

I am attempting to detect when an issue's priority - either Low or Medium changes to a HIGH - I need to kick off a webhook to an external system.    I am looking to use Cprime's SIL to create the script.

I understand - using a listener - to detect anytime an issue is updated - I want it to run this script - compare the old value of priority, to the new value of priority - if it has changed to High - then it will run the script.

I'm new to SIL - still trying to learn it .. 

What I have started with (Yes - it is rough - and I'm missing alot .. ) Looking for some guidance/help ..   

This script is a called by listener to the issue update event. Should the value of the Priority value change from Low or Medium to HIGH - fire an external Webhook
ProjectKey is "TSD"
Issuetype is "incident"

// Define oldPriority - ??

// Define newPriority - ??

/* gets the previous value of the priority */
if( oldPriority != 'High' && newPriority == 'High');{

// httpPost("", headers, params);

1 answer

I was able to get this to work - using Sil Scripts, a bash script to the xMatters form.   Long to post here - but if anyone would like any additional information - let me know - and I will share.

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you