Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic SYNERGY (steve huntington)
Decrease font size
Increase font size
Topic Title: Update Task Release
Topic Summary:
Created On: 12-Apr-2006 12:48
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 12-Apr-2006 12:48
User is offline View Users Profile Print this message


Amanda Kerns

Posts: 8
Joined: 12-Jan-2005

How do I update the release on tasks and their associated objects when they did not make it into the previous release?

We had several tasks set for release 5.01, but three were not completed and need to be moved to the 5.02 release. Is there an automated way for the build manager to do this for all tasks and their associated objects that need to be moved to the next release?

Amanda Kerns

Report this to a Moderator Report this to a Moderator
 12-Apr-2006 14:37
User is offline View Users Profile Print this message


Lutz Zollikofer

Posts: 44
Joined: 31-Jul-2003

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
Report this to a Moderator Report this to a Moderator
 4-May-2006 15:42
User is offline View Users Profile Print this message


michael Barnes

Posts: 85
Joined: 12-Nov-2003

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.
Report this to a Moderator Report this to a Moderator
 12-May-2006 23:37
User is offline View Users Profile Print this message


George Roberts

Posts: 2
Joined: 26-Sep-2002

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.
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic SYNERGY forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 15:34.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.