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

How do you query for work items that didn't pass through a given state?

 I have a team using RTC who use a code review process empowered by the RTC-CodeCollaborator integration.   This integration is driven by adding a new state to a work item type or types.  In this case, the Task workflow had a "Ready for Review" state added.  This state is reachable from "In Progress" by using the "Submit for Review" action.  The Task goes from Ready for Review to Complete by way of the "Complete Review" action.  

Our code review process is mandatory.  Therefore, we need to query for completed tasks that didn't go through our Code Review workflow state.  How does one do this?  Can it be done in RTC 3.x without having to write some code? 

0 votes



One answer

Permanent link
Work item queries can only look at the current state of a work item.  They can't query on past states of the work item.  There is no way to create a work item query that will find all of your work items that were completed without having gone through the Ready for Review state.

Reports can look at the past state of work items.  It might be possible to create a report that will find all the work items that you want.  But I don't know enough about writing reports to be sure.

(I assume that you have changed your workflow so that from now on work items have to go through the Ready for Review state to get to the Complete state.  This way there will never be any new work items that skip the Ready for Review state.)

2 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,014
× 368
× 201

Question asked: Oct 10 '12, 11:03 a.m.

Question was seen: 5,593 times

Last updated: Oct 10 '12, 6:49 p.m.

Confirmation Cancel Confirm