質問

I'm trying to work with the Jira/Tempo API (with Python 2.7), but the documentation is woefully lacking (unless I'm missing something).

Goal

The goal is to get a list of all the

  1. teams
  2. members
  3. leaders

So far

I've gotten the list of teams, but the members are all empty lists (not so on our site.)

My query URL is:

http://myserver.mydomain/rest/tempo-teams/latest/team/?id=expand=true

I don't know why the members lists are coming back empty, and I don't really know how to debug or explore this further (this is my first time working with REST/API).

役に立ちましたか?

解決

http:// yourserver.yourdomain/rest/tempo-teams/latest/team/?expand=members

他のヒント

Get team members

From the Tempo REST API docs for Teams, Get all members of a team:

Get all members of a team

Team members can be both JIRA users and JIRA groups. In this endpoint the default value for the member type is user.

http://{JIRA_BASE_URL}/rest/tempo-teams/2/team/{id}/member

The path-variable {id} can be replaced with your team-id (integer). Additional query parameters are:

  • type (string) where default is "USER"
  • onlyActive (boolean) where default is false
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top