Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Work item customization ( duration of work item state)

Looking for a java script that calculates time duration of specific state in the workflow.

For e.g., The workflow has the following states:

Open,
Approval,
Review,
Close

If the work item is in Review state, I would like to calculate the duration of Review (How long the work item was in Review State) before transiting to Close state.

In the help manual script is given to calculate work item age but i need to compute how long an RTC work item spends in a specific state.

Can somebody help me to write java script for the above mentioned customization?


0 votes



One answer

Permanent link
The Data Warehouse data source has this information and you're better off reporting on this instead of putting it on the individual work item as a script. Check out the Work Item Status History end point as the start of your report - link this to the Work Item if you need other fields.

Create the report and put it on the dashboard if you want it to be public information.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,998

Question asked: Feb 15, 12:16 p.m.

Question was seen: 361 times

Last updated: Feb 15, 6:04 p.m.

Confirmation Cancel Confirm