Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Scriptrunner Behaviours - Require a custom field based on change on Sprint value

Gözde Akkaya
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 29, 2023

Hello guys, here is the thing,

I want to require a "Sprint Change Reason" custom field when the "Sprint" value of an issue has changed. 

I guess, the main key is the getting old sprint value and updated sprint value and then compare them. If not equals to each other, then we require "Sprint Removal Reason" field and if that field is not entered, then the issue cannot be updated.

 

I am very beginner at groovy scripts and scriptrunner. Can you help me to write groovy script for behaviours? Thank youu 

0 answers

Suggest an answer

Log in or Sign up to answer