can we make all of our "To be verified" defects close automatically once 30 days have passed?
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
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