Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Server Plugin Development: Group by

Attila Czegledi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 1, 2020

Hi, I am developing a Jira Server plugin, where I would like to have the worklogs grouped by fields on the issues they were logged on.

Currently I have a functional solution, but it uses JDBC, and it is dependent on the  underlying postgre database. I would like it to work on multiple databases.

Is there a way to do this? 

1 answer

0 votes
Aron Gombas _Midori_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 2, 2020

The recommended (bullet-proof) way of working with relational database is using ActiveObjects. It is DB independent and supported by Atlassian themselves.

I'm not sure if it has any concept of "group by", but if it doesn't, you can still do the grouping with the Java objects returned in your own code.

Suggest an answer

Log in or Sign up to answer