Hello,
Using Scriptrunner, we would like to create either a scripted field or a listener that will set in a single select list field the first value that was ever set on another single select list field.
How could I get the first value ever used on an issue for a specific field?
Thank you!
Use a changHistoryManager to get all the changeHistory objects for the issue, searching them for changes to the field. If none are found, the current value is the first use, but if you do find some changes of the field, use the changeHistory that contains the change of field with the earliest date.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Tarun Sapra
We have a select list field that should help set a value for the program increment in which an issue is planned.
We want to be able to compare the first value in which an issue was planned with the one it is currently in, to see deviations from the original plan.
Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.