It's all about the answers!

Ask a question

Counter - How many times a issue was reopened

Deepa M S (71) | asked Sep 05 '22, 5:18 a.m.

Is there a way to check how many times a Issue workitem has been re-opened in RTC

2 answers

permanent link
Luca Martinucci (1.0k288110) | answered Sep 07 '22, 2:32 a.m.

I am not aware of any out-of-the-box functionality that serves this purpose.

I suggest that you develop an extension (server-side plugin) that runs every time the Issue is re-opened and saves the counter in a custom attribute.
The logic should be as follows:
  • check whether the Issue is being re-opened (you can either check the ongoing action or the destination state);
  • read the current value of the counter;
  • if the Issue is being re-opened, increment the counter value by 1;
  • save the new counter value in the custom attribute.

permanent link
Davyd Norris (1.8k115) | answered Sep 07 '22, 7:12 p.m.
There is a a complete audit trail kept for each work item so you can look at the History for individual items.

For looking at them in bulk you could create a report in Report Builder using the work item history as the starting point and that would show you this info pretty easily.

Your answer

Register or to post your answer.