It's all about the answers!

Ask a question

How can I filter Team Area List to just show teams within the current project?


Carson Holmes (10713441) | asked Sep 12 '13, 3:41 p.m.
edited Sep 18 '13, 4:45 p.m. by Millard Ellingsworth (2.5k12431)
A project wants to add an attribute to track the impacted teams on an issue.  The Team Area list unfortunately has all projects and all teams, so it is very lengthy.  Is there any way to filter it to just teams on the project?

Another idea I had was to use the categories for the project.  Is there any way to have a Category List?  I just see one category as an option for attribute.

Thanks.

Accepted answer


permanent link
Ralph Schoon (60.5k33643) | answered Sep 18 '13, 12:08 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,

https://jazz.net/library/article/1093, especially Lab 4 and 5 talks about attribute customization.
I don't think a value set would help with your request, unfortunately, but you could try to use the HTTP filtered value set, as suggested by Lionel.

You can especially try to get a list of the team areas using the HTTP filtered value set using OSLC or REST calls as described in Lab 4. This could help you, as it might avoid the requirement to create the XML and keep it up to date. The only thing I am not aware of is, if there is an OSLC or REST call to provide you with the list of teams.
Carson Holmes selected this answer as the correct answer

Comments
Lionel Li commented Sep 18 '13, 2:34 p.m.
JAZZ DEVELOPER

thanks Ralph, I did try to find a easier way for generating the team list, but couldn't find any. :( 


Carson Holmes commented Sep 18 '13, 2:37 p.m.

Thanks guys!  This helps. 


Ralph Schoon commented Sep 19 '13, 2:34 a.m. | edited Sep 19 '13, 2:34 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

If OSLC does not help and it is necessary to generate the Team List automatically, maybe using some automation running in e.g. a build and generate and publish the list would help. Some AI code you could harvers is here: https://rsjazz.wordpress.com/2012/12/09/analyzing-a-aroject-areas-members-and-roles-using-the-plain-java-client-libraries/ how to publish the result is described here: https://rsjazz.wordpress.com/2013/07/23/publish-xml-data-using-tomcat-hotfix-for-the-process-enactment-workshop/ and in some similar posts.

You can also store the data in Jazz SCM as described in this thread: https://jazz.net/forum/questions/105650/http-filtered-value-set-the-reference-to-entity-etag-must-end-with-the-delimiter-problem?utm_campaign=forum&utm_medium=email&utm_source=forum-new-comment&utm_content=forum-question

2 other answers



permanent link
Lionel Li (21611216) | answered Sep 18 '13, 11:37 a.m.
JAZZ DEVELOPER
Hi Carson,

If you just want to make the impacted team area shown in the work item, probably the HTTP Filtered Value Set could help you, which especially works well for a lengthy list.

there is a doc with detailed steps:  https://jazz.net/library/article/1257

You can create a XML file with all current team areas and use it for that value set. 

Hope this helps. Thanks.

permanent link
Krzysztof Kaźmierczyk (7.4k34997) | answered Sep 13 '13, 2:11 a.m.
Hi Carson,
I don't know any easy way to do that. Possibly you can create new RFE for that: https://jazz.net/jazz/web/projects/Rational Team Concert#action=com.ibm.team.workitem.newWorkItem&type=enhancement

Your answer


Register or to post your answer.