It's all about the answers!

Ask a question

Is there a precondition which checks for undelivered change sets when resolving a work item?


Karthik Krishnan (859392134) | asked Jun 30 '16, 9:29 a.m.
edited Jun 30 '16, 11:42 a.m. by David Lafreniere (4.4k7)
Users associate change set to a workitem but forget to deliver and proceed to "Close" the work item.

Is it possible in RTC out of the box to prevent the workitem not to set to "closed" status if there are associated change sets which aren't delivered?


Of course it is shown in the Pending changes as Outgoing changes but not all seem to care. I am not interested in customization as it is more effort and perhaps not worth the time.

Accepted answer


permanent link
David Lafreniere (4.4k7) | answered Jun 30 '16, 11:32 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
There currently is no precondition that checks if there are undelivered change sets (or auto-delivers) when resolving a work item.
Part of the complexity here is that a Project Area and all of its child Team Areas may have hundreds of streams owned by them, how would each work item know which stream to check against? (also some work items may need to go to several streams). This would be a nightmare to setup/customize.

However, you can easily verify which work items (change sets) were delivered and which were not by using the Locate Change Sets editor. You would first create a work item query that is expected to find the relevant work items (ex: work items planned for a particular sprint for example). You then open up the Locate Change Sets editor and add the Stream(s) that you care about in the Search Targets section at the bottom. Now you can drag & drop the work item query to the "Change Sets" section at the top of the editor. This will automatically run the query for you and add the corresponding work items (change sets). Now select the stream(s) in the editor and click on the "Show Result Details" button. This will open the "Search" view with the results so you can inspect which work items (change sets) are included, and which are not included.
Karthik Krishnan selected this answer as the correct answer

Comments
Karthik Krishnan commented Jul 01 '16, 4:35 a.m.

Thanks David. Yes "Locate change set" is another easy way but reality is different :)




Karthik Krishnan commented Jul 01 '16, 8:43 a.m.

Tried the trick with locate change set & query sounds neat. 


Thank you very much

One other answer



permanent link
Ralph Schoon (56.5k23642) | answered Jun 30 '16, 11:36 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Not that I would be aware. A tool can only do so much to fix sloppy work. This is also not trivial to do. You can spend a fortune on more and more checks, if users don't care they will find a way to introduce issues.

We have a view to "Locate change sets" where you can check if change sets linked to work items are in a stream or workspace. But I don't think that is really meant for hundreds of work items.

Comments
Karthik Krishnan commented Jul 01 '16, 4:36 a.m.

Thanks Ralph. You are right with you :)


Also we aren't interested in implemeting custom solutions yet.

Your answer


Register or to post your answer.