![]() |
Telelogic SYNERGY (steve huntington) | ![]() |
Topic Title: Update Task Release Topic Summary: Created On: 12-Apr-2006 12:48 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
How do I update the release on tasks and their associated objects when they did not make it into the previous release? |
|
![]() |
|
![]() |
|
Hi Amanda,
coding a script you should test first if the task exists and is not completed using 'ccm task -show information $ccm_task | grep "State:" | awk '{ print $2 }'' (ccm_task=task_number). After this update the task release using 'ccm task -modify -release "$ccm_rte" $ccm_task' (ccm_rte=release_table_entry,ccm_task=task_number) and modify the release attribute of the objects associated with the task, if you wish to do so, using 'ccm task -show obj $ccm_task;ccm attr -m release -v "$ccm_rte" @' (ccm_rte=release_table_entry,ccm_task=task_number). Hope, this helps. Lutz |
|
![]() |
|
![]() |
|
Windows client
Assuming all these tasks are in a folder somewhere, with no other tasks in that folder, I have attached a windows batch file I use to do the "update release of task" job, equivalent to Lutz's response. I actually create a second batch file to run this one, with parameter values set, then run that second batch file from within windows (hence the pauses to see what is going on). Updating objects I leave as an exercise for the reader (ie I have never done it), but Lutz's response gives the essential information. |
|
![]() |
|
![]() |
|
Amanda-
A very simple way to do this is to first query on the tasks with the old release value in the completed state: ccm query "type='task' and status='completed' and release=' Then show the release attribute on each task: ccm attr -s release @ Then modify the release value of these tasks: ccm attr -m release -v Then show the new release value by either running the first ccm attr command or the first query above. You might also have tasks still in the assigned state that need attention. |
|
![]() |
Telelogic SYNERGY
» SYNERGY/CM
»
Update Task Release
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.