It's all about the answers!

Ask a question

can we make all of our "To be verified" defects close automatically once 30 days have passed?

Aparna Sukumaran (333660) | asked Jun 16 '15, 8:53 p.m.
  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

permanent link
Arne Bister (2.6k12832) | answered Jun 17 '15, 10:19 a.m.

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 or

- Arne

Your answer

Register or 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.