REST API for team information?
Hi,
I am currently working on a project at the University of California, Irvine, and we are looking into integrating our tools with Jazz. This means basically retrieving data from Jazz, like Work Items and team membership information.
I was able to "sniff" the Web UI for its work item requests, and get work-item-related information, even though I am using a service currently marked as internal. There's already a Work Item (Enhancement #31146) filed for exposing this as a service. And, of course, I could also use the RSS feed to fetch the latest work-item-related changes.
Now we need to gather information about the teams themselves: who are the teams in a project, who are its members and their information. I wasn't able to find a service that provided that information.
Does anyone here know where I should try and look for that kind of information?
Thanks,
Marcelo Alvim.
I am currently working on a project at the University of California, Irvine, and we are looking into integrating our tools with Jazz. This means basically retrieving data from Jazz, like Work Items and team membership information.
I was able to "sniff" the Web UI for its work item requests, and get work-item-related information, even though I am using a service currently marked as internal. There's already a Work Item (Enhancement #31146) filed for exposing this as a service. And, of course, I could also use the RSS feed to fetch the latest work-item-related changes.
Now we need to gather information about the teams themselves: who are the teams in a project, who are its members and their information. I wasn't able to find a service that provided that information.
Does anyone here know where I should try and look for that kind of information?
Thanks,
Marcelo Alvim.
3 answers
Re: Process REST services (i.e. things that have to do with teams and projects). As Chris mentioned, there is something there, and we'll be adding more functionality in M4, but this is an internal service and therefore subject to change without notice.
That being said, more broadly in Jazz, smarter people than I are figuring out how we can provide REST services with API commitments. Please stay tuned...
That being said, more broadly in Jazz, smarter people than I are figuring out how we can provide REST services with API commitments. Please stay tuned...
Now we need to gather information about the teams themselves: who are
the teams in a project, who are its members and their information. I
wasn't able to find a service that provided that information.
Does anyone here know where I should try and look for that kind of
information?
A team member is represented by the type IContributor which is in
defined in the Repository component. There is a IContributorRestService
which you can use to list all the contributors.
Project and Team areas are defined in the Process component (the model
types are ITeamArea and IProjectArea). You might be able to get what
you need from the IProcessRestService - though this is an internal service.
So using those two services might be a "quick and dirty" way of getting
what you need. Maybe someone on the Process team will chime in with a
better way.
Chris