How get a list of available priorities (RTC, follow-up, server side)
Hello friends,
I'm trying get a list of priorities in a project area of Rational Team Concert in this way (follow-up action aspect editor, server side):
IProjectAreaHandle projectArea = ((IProcessArea) processItem).getProjectArea();
List<Priority> rawPriorities = getWorkItemCommon().findPriorities(projectArea, monitor);
But Eclipse warns to me that this is a deprecated manner doing that I need! Could somebody clarify this question which way could be more appropriate here?
Thank you very much in advance!
I'm trying get a list of priorities in a project area of Rational Team Concert in this way (follow-up action aspect editor, server side):
IProjectAreaHandle projectArea = ((IProcessArea) processItem).getProjectArea();
List<Priority> rawPriorities = getWorkItemCommon().findPriorities(projectArea, monitor);
But Eclipse warns to me that this is a deprecated manner doing that I need! Could somebody clarify this question which way could be more appropriate here?
Thank you very much in advance!
One answer
Follow http://rsjazz.wordpress.com/2013/02/28/setting-up-rational-team-concert-for-api-development/ and then have a look into the comments of the method. It should describe the alternative if it is deprecated. I can't access my SDK at the moment, but if you want to use extensibility, you should do the setup anyway.