Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Can I make a script run every time a custom field value is changed without creating a ScriptListener

We have a custom filed of single selection type list. We want to run a groovy script which will run if anyone changes its value.

We also don't have option to go with Behavior also because in our script we are fetching profields value. And we are not sure we can access those values when we write the code in behavior. 

1 answer

1 accepted

0 votes
Answer accepted

why don't you want to create a listener? it sounds like exactly the scenario you need a listener for

Because this is a project specific requirement so we don't want to configure it in system level.

Also in consideration of future JIRA scalability & performance (NFR), we don’t want to use web hooks & script listeners for project specific customization in our shared Jira instance   

well, I guess you can make a separate transition with that field on a screen and then add a postfunction to it with the logic you want, but listeners can be project specific as well, if thats your main concern

Can you please guide me in detail how will I make this transition with that field ?

Basically, you remove that field from issue edit screen and then create a transition from any status to any status with a screen that contains this field


and then add postfunction to this transition

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

322 views 9 7
Read article

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