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

Run a script after the issue transitions through "triaged" state

I have written a script that I want to run when the user triages an issue. When the user presses the triage button on the triage screen in Jira. Below is the mentioned button.

I want to update the Due Date.
Where can I add the listener for this in Script runner? Any ideas? Thanks a lot


1 answer

1 accepted

0 votes
Answer accepted

Listeners with SR are done via Admin -> Scriptrunner -> Listeners.

I am not sure you want a listener here though.  Listeners react to events, not actions in the workflow directly.  A listener would only work in this case if your "triage" transition fires an event of the type the listener is listening for.

I would suggest looking at a post-function on the triage transition.  They're easier to write than listeners and you know that they will be, and only be, run when the button is clicked.

You're right. A listener will not work in this case. How do I add post function to the triage transaction? I hace a script ready to add and is working in SR console but not finding a place to put it to run. Would you please mention where should I add post function for it? Thanks 

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