can we make all of our "To be verified" defects close automatically once 30 days have passed?
Do we have that option in RTC to auto close Defects after 30days from the date it was set to "To be Verified"?
|
One answer
Hi,
there is no out of the box automatism to regularly check work items for their status but if you use RTC build automatism or any cron job or windows scheduler, simply run an overnight script which uses the RTC Plain Java API to - query for all work items of type "Defect" in state "To be verified" - query in their audit history for the state change date - compare to current date and set the work items to closed. For details as to how to write or script work item changes, please cp. for example https://rsjazz.wordpress.com/2012/10/29/using-work-item-queris-for-automation/ or https://rsjazz.wordpress.com/2015/02/09/a-rtc-workitem-command-line-version-2/ - Arne |
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.