Hi all! i am trying to run the code from the link
https://library.adaptavist.com/entity/count-the-time-an-issue-was-in-a-particular-status
But I am getting time "0"
You have the output template set to multi-line text. Try changing it to "duration"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, that suggests your calculation is actually the problem.
Is your status definitely called "TO DO" (the = is an exact string match), and the test issue has been through that status at least once (and moved into another status)
After checking those two, the next thing is to insert log lines in there, so the log tab tells you what the contents of variables are as it works through
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.