Working with Tempo API - Get User Groups

I'm having a number of problems with the Tempo API--not sure where the stumbling point is.

For example, I'm trying to get the groups of a user: When I go to `` the output is

{"self":"","key":"nicholsp","name":"nicholsp","emailAddress":"","avatarUrls":{"16x16":"","24x24":"","32x32":"","48x48":""},"displayName":"Nichols, Paul","active":true,"timeZone":"US/Eastern","groups":{"size":26,"items":[]},"expand":"groups"}

The fact that it says ` u'groups': { u'items': [], u'size': 26}` implies that I'm getting something (26 is the correct number of groups I am in) but I can't seem to find out how to actually get those names.

1 answer

The expand tells the REST api to also include all the group related information. That is why the groups section is:


All expand key values can be used with the expand parameter from the REST GET request.

Ah, perfect! I was so close. Thanks! Do you happen to know where in the docs this is, if at all? I feel like I'm missing a chunk of them.

Hi Paul,

It is indeed in the documentation, but most people look over it :) Checkout the Expansion in the REST API's section:

Ah! These _are_ the docs I'm looking for. Thank you--I couldn't find them. Do you know if there are other hidden docs somewhere that might help me answer this?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

172 views 1 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you