Where are shared groups and users of Agile boards in Jira database?

I try to find what boards are shared with a group, and this info is not in sharepermissions table.

Does anybody know where they are?

2 answers

0 vote
Peter Bengov Community Champion Nov 21, 2014

Why do you need to see it via database when it's visible on /secure/ManageRapidViews.jspa (Agile > Manage Boards). Look at the Shares column.

Peter, I have ~50 groups and ~30 boards, I need a report on configuration, and users may change them occationally. No time for manual click job

Hi @Gregory Kneller,

I'm not 100% sure on this, but I think the Agile Board shares are driven by the shares on the filter(s) used by the Agile Board, so the info is in the sharepermissions table, but you need to join it with SAVED_FILTER_ID column of the AO_XXXX_RAPIDVIEW table.

Something like the following should get you started:

select ab.NAME, sp.PARAM1 from AO_XXXX_RAPIDVIEW ab, sharepermissions sp
where (sp.PARAM1 = '<group name>' OR sp.PARAM2 = '<group name>')
and ab.saved_filter_id = sp.entityid;

just replace <group name> with the group you're interested in an AO_XXXX_RAPIDVIEW with whatever the table is called in your instance.

Andrew.

Or just omit the (sp.PARAM1 = '<group name>' OR sp.PARAM2 = '<group name>') line if you just want a list of all boards and who they're shared with. Stumbled across your question as I was just looking to do the exact same thing myself :-)

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...

729 views 3 11
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