![]() |
Telelogic SYNERGY (steve huntington) | ![]() |
Topic Title: Querying the attributes related to a task Topic Summary: Created On: 26-May-2004 17:56 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Thank you for the reply Henrik. While researching for a faster solution I found out that you can use -f %attr_name option to get the value of all the attributes in one go !! But now the question is to return the task, so that I could use it with -f option. There could be 100s of tasks, how do you return a task by its id?? Thanks, Ravi | |
![]() |
|
Hello Everybody,
I was wondering if there is a way that you can return the values of the attributes of a particular task. i.e. I want to know the values of all the attributes for a particular task. Regards and Thanks, Ravi Hasija |
|
![]() |
|
![]() |
|
If you want _all_ the attributes you can use the ccm attr -la command to first get all the attributes and the loop over the answers and call ccm attr -s $attribute on each attribute.
Something like this in bourne shell: for attribute in `ccm attr -la @1 | awk '/./ {print $1}'` do ccm attr -s $attribute @1 done The code is not tested, so you might need to adjust it. Maybe there is a simpler version of this. Regards Henrik |
|
![]() |
|
![]() |
|
Thank you for the reply Henrik.
While researching for a faster solution I found out that you can use -f %attr_name option to get the value of all the attributes in one go !! But now the question is to return the task, so that I could use it with -f option. There could be 100s of tasks, how do you return a task by its id?? Thanks, Ravi |
|
![]() |
Telelogic SYNERGY
» SYNERGY/CM
»
Querying the attributes related to a task
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.