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: Query for last released project
Topic Summary: Can you query for the last released project if you know the project name?
Created On: 29-Feb-2008 16:07
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.
 29-Feb-2008 16:07
User is offline View Users Profile Print this message


Steve Koppa

Posts: 1
Joined: 12-Apr-2005

Can you query for the last released project if you know the project name? If there are parallel releases, I would just want the last released project with the latest time.

Steve
Report this to a Moderator Report this to a Moderator
 2-Apr-2008 06:29
User is offline View Users Profile Print this message


Tamer Bakr

Posts: 6
Joined: 2-Apr-2008

Hi,
You can go to Find->Releases and choose for components and make sure that the Created attribute is visiable.

Hope that helps you.

Regards;

-------------------------
Tamer F. Bakr
DBA, Build Manager, Senior Developer
+974 597 2618
Report this to a Moderator Report this to a Moderator
 9-Jun-2008 12:19
User is offline View Users Profile Print this message


David Honey

Posts: 20
Joined: 26-Sep-2002

Hi Steve,

There isn't a query function for "last". It also depends on what you mean by "last released project". For example:

    Project in released state that was created most recently?

    Project in released state that is a history leaf?

    Project in released state that was transitioned to released state most recently

    Project in released state that is in the most recently created baseline?


You can query for the create_time attribute. For example, query for projects in releases state created in the last 60 days.

Although you can also query on modify_time, this turns out not to be very useful. The modify_time of an object is normally updated when any attribute is created, modified or deleted, or when any relationship from or to that object is created or deleted. So there may be multiple reasons why modify_time might get updated.

Unfortunately, it is not very easy to query for the time at which some state transition was made. The status_log attribute records such transitions, but this is a free-format text form that will contain dates embedded as date strings. There is also an Informix restriction that means that for text attributes, you can only query for up to the first 64 characters. This is a documented restriction. Both of these issues make it problematic to query generally for the date of transitions.

Baseline methodology has been the default methodology from Synergy 6.4 onwards. In this methodology, what matters is the baseline rather than the baseline project. In this usage, you're probably more interested in finding the most recent baseline for some release and perhaps purpose. So a query for baselines with a specified release created within the last, say, 60 days, sorted by create time is likely to be useful.

Hope that helps,
Kind regards,
David.
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.