Extracting information from the jira database

Luiz Ricardo Pereira da Silva January 12, 2018

Can the JIRA database be extracted according to information
below regarding JIRA users?

 

• Profile access information (within the project) "Permissions"

• Account creation data in the application.

• Profile modification / privilege data.

2 answers

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 12, 2018

Be aware that some of the information is not stored.  Either because it's simply not written to the database, or it done by business logic.

The database can give you the permissions, and the raw user information including groups (but not a history of profile change).  In most cases, you'll be able to do the basic stuff like "Permission X is granted to role Y, whom Dave belongs to because he is in group Z", but you're going to have loads of "fun" when the more clever ones kick in.  For example, "Dave can log work on this issue because he is named in field X on this issue" and "Dave can approve this because he is the assignee"

0 votes
miikhy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 12, 2018

Hi Luiz,

The short answer is yes. Database stores everything so basically you can extract it all. The real challenge is to gather all what you need. For instance on your first point, permissions can be managed through direct profile in permission schemes, groups or even Roles.

More info on the database scheme can be found here: https://developer.atlassian.com/server/jira/platform/database-schema/

I advise you to try it out and if you struggle with precise points, we might help you getting to your point :)

Cheers

Suggest an answer

Log in or Sign up to answer