The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Aron Gombas _Midori_
Community Champion
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.