Need to build a query to show work items started last week - please help!!
I'm trying to build a custom query to show work items started during last week (lets say an action set from New to In Progress within the last 7 days, including today).
So far I could figure out one of the query conditions:
+ Status is [Unresolved]
+ Type is [Action]
Unfortunately, I don't know how to configure the condition to set the dates. Do you know if there is some OOTB feature for this?
I am using RTC v4.0.2
Thank you!
Victoria
2 answers
Comments
Update: The Planning Component Lead confirms that the Start Date attribute is unused and unusable. I will follow up with a work item to hide or remove it. Actual Start Date is a planning-computed value not available to Work Items (at least at this time), so the solution above may be the best you can do for now.
I've created work item Obsolete "start date" property should not be exposed in query condition and result pages (276772) to get this attribute hidden/removed.
Sorry, Geoffrey, my bad. I should have added that I re-opened https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=90394 to get this fixed.
Thanks Millard ... I should have scrolled down further in the work item search results (given that this work item had the phrase "start date" in its summary, it's rather strange that it only got a 62% "search score" :-). And I was amused to note that I was the one who submitted 90394! (Although in my defense, it was 4 years ago, tomorrow, that I submitted it :-).
Comments
Hi Ralph,
What about the "Start Date" attribute? I noticed that this attribute can be added as a filter at the Plan level and it is automatically populated when the work item changes from "Open/New" to "In Progress" state.
Is there any chance to add this attribute to the query and to play somehow with it in order to get what I need? If there is not, is there any other workaround for what I need?
Thanks again in advance!!
If you want to go further, you can add attributes to your existing work item types, or change which attributes display. These processes are described in the help topics. Here are the URLs in the 4.0.3 help: for the Web client http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m3/index.jsp?re=1&topic=/com.ibm.team.workitem.doc/topics/t_customizing_work_items_web.html or the Eclipse client: http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m3/index.jsp?re=1&topic=/com.ibm.team.workitem.doc/topics/t_customizing_work_items.html
Hi Ralph, I tried using the "Start Date" attribute but it seems not to be working or maybe I am missing something else here. I set the query config as follows:
+ Status is [Unresolved]
+ Status is not [Open (Action workflow)]
+ Type is [Task (a.k.a Action)]
+ Start Date after (including) [7 days ago]
Scenario A: I created a Task and left it in "Open" state => the query doesn't shown that Task, that should OK as it is expected behavior.
Scenario B: I moved the Task created in Scenario A from "Open" to "In Progress" state => the query still doesn't shown the Task. Should I assume this is a bug?
By the way, I am using RTC 4.0.2 (and configuring using eclipse client 4.0.2).
Thanks in advance!
PS: I have attached an image to this post, showing query configuration, please let me know if you can see it properly for I cannot see it.