It's all about the answers!

Ask a question

Calculating custom fields.

Mahari Hill (4861122223) | asked Jun 01 '16, 8:38 a.m.

CLM 502

There is a group that uses a "process" that assigns a "department" field and then the Owned-By. When that department analyzes that they are not the owner, they change the "department" field and Owned-By to another...and so on.

Management wants to know:
How long was it with Department A, B, or C?

Is there anything available that can help me out on this?

2 answers

permanent link
Dan Kaminski (131) | answered Jun 01 '16, 9:07 a.m.
 I would like to do something similar... but in my case... I want to calculate how long a work item has been in a specific status.  

permanent link
Ralph Schoon (61.8k33643) | answered Jun 01 '16, 9:42 a.m.
You can do this, but it is not going to be trivial.

JavaScript makes it very hard to detect a state change I would not do this

Java (work item save follow up action/participant) can do this and store the data in some custom attribute

Could maybe calculated with a asynchronous task

Could potentially be calculated if needed by iterating the work item history

Your answer

Register or to post your answer.