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 votes
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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,653 views 18 21
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