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

can we query to get the period the defect is in waiting state?

 Hi All,

We have a business requirement where we need to get the following information 

-> The period the defect is in "Waiting state".
-> The period that took to fix the defect

we need have a query to get this info.

Tried using the "Date Group" but no luck.
Is this really possible? If so can someone point me the the right procedure?

Thanks
Surender

0 votes

Comments

could you describe period?  this is not a term I hear in RTC,



One answer

Permanent link
Essentially you need to compute the difference between two timestamps. To make it easier, you may need to add a custom attribute to hold the value of this "period", and update the attribute programmatically using attribute customization scripts or precondition/follow-up actions. For example, when a work item transitions into the "waiting state", you set the value of "period" attribute to 0. Oh, you may need another attribute to hold the transition timestamp. Then when the work item transitions out of the "waiting state", you compute the difference between "now" and the recorded timestamp, and get the "period" value and set it accordingly. The same goes to other "period" that you may consider.
Note that if you want to show the "period" when the work item is still in the "waiting state", you will need to do dynamic calculation (between "now" and the last transition timestamp"). I think this can be done only with reports, not queries.

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
× 12,020

Question asked: Jan 06 '15, 12:15 p.m.

Question was seen: 3,356 times

Last updated: Jan 06 '15, 7:09 p.m.

Confirmation Cancel Confirm