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

How to calculate the number of times a workitem has passed to a state?

Hi

I want to calculate how many times a workitems has passed to a specific state.
For example for a workitem with this workflow :
New - Planning - In Progress  - Under review -  Closed

 How many times the workitem has been on the "planning" state because you can go from "under review" to "planning".

I have tried with a calculated value but it also counts the times when I'm on the "planning" state and modify any field with going to other state.

Any suggestion?

Thanks

1 vote

Comments

counting from workitem's history would be the easiest way.

Can I query the history with calculated values ?

 I would like to know too


Accepted answer

Permanent link
Dear Caroline & Cesar,

You can learn how to read the history of a work item and how to analyze states by looking into the Presentation.js file that is part of Status History Presentation published by the Jazz Community group on GitHub. This should make it much easier for you to get what you want, though I can't provide you with a ready-to-use solution for your requirements.


I hope this helps and happy coding,
Lukas

Cesar Sasaki selected this answer as the correct answer

0 votes

Comments

Hi Lukas
Yes I have tried that plugin. It works great, but Is there a way to get those numbers in attributes?

1 vote


One other answer

Permanent link

 Hello,


Cesar, I will follow the steps of the link, but it is not an unavailable function, for some information, to help me.

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,935
× 7,494

Question asked: Jun 02 '15, 5:10 p.m.

Question was seen: 3,474 times

Last updated: Nov 10 '17, 8:00 a.m.

Confirmation Cancel Confirm