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

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"?

0 votes



One answer

Permanent link
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

0 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,019

Question asked: Jun 16 '15, 8:53 p.m.

Question was seen: 2,318 times

Last updated: Jun 17 '15, 10:19 a.m.

Confirmation Cancel Confirm