Tempo Teams in JIRA Database

Hello,

does anybody know in which tables of the JIRA Database the information about Teams in Tempo is stored and how they are linked with JIRA Users? I searched a while, but I can only find die Teams definied for our Jira projects. In our case the tempo teams are not even the same as project teams.

Best

Marco Altpeter

(Employee of CompuGroup Medical)

1 answer

Hello,

Here if it can be usefull to you, I did a sql that pull out the tempo group vs jira group and show the username (from tempo)

SELECT child_name,t.NAME as tempogroup,m.member_key AS jiragroup
FROM jira62.AO_AEFED0_TEAM t
JOIN jira62.AO_AEFED0_TEAM_MEMBER m ON m.member_type = 'group' AND (m.role_type = 'member' or m.role_type = 'lead')
JOIN jira62.AO_AEFED0_TEAM_TO_MEMBER tm ON t.id = tm.team_id AND m.ID = tm.team_member_id
JOIN jira62.cwd_membership cw ON cw.parent_name = m.member_key
UNION
SELECT member_key,t.NAME as tempogroup,null
FROM jira62.AO_AEFED0_TEAM t
JOIN jira62.AO_AEFED0_TEAM_MEMBER m ON m.member_type = 'user'
JOIN jira62.AO_AEFED0_TEAM_TO_MEMBER tm ON t.id = tm.team_id AND m.ID = tm.team_member_id

After this you could only add the table cwd_user and it to tempo username.

How do I identify only current membership? For example; Homer Simpson belonged to TeamA last month, but has been moved out of TeamA and into TeamB this month. I'm not seeing any active flag or start or end date on the team member table.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,755 views 11 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot