how to write a script for read-only field, to capture the Date when above Status is changed?
for eg,
ready for dev(date)
ready for QA(DATE)
ready to demo(date)
Hi @Saudamini Deshmukh ,
As an alternative, you can try Status Time app developed by our team. It provides reports on how much time passed in each status and show status entry dates.
If you are looking for a free solution, you can try the limited version Status Time Free.
Hope it helps.
What scripting tool or automation do you have?
The data is trapped in the history already, and status can be used in JQL with the "was changed before/after" operator combinations, so you can already read and search for the data.
But yes, a scripted field that pulls it out would be handy. I'd do it with a Scriptrunner scripted field, with an output template of date/time of course, and a short script to read the history for the date of the status change. But I do work for Adaptavist, so I've got access to a library and people who can script far better than I can. This, for example, shows you how to read history of an issue: https://library.adaptavist.com/entity/show-assignee-history-on-issue-details-page
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.
I think instead of writing a script (it sounds like you are not experienced with that), you could use the Automation for Jira app and visually create the automation rule sets the value of those fields to "current date" (it's the action) when the status changes (it's the trigger).
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.
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.