How to retrieve data from database developing plugin?

lpopek November 7, 2018

Hello, Im simply developing CRUD Jira plugin using Atlassian-Sd. I have my application on localhost http://localhost:2990/jira, I created simple projects and issues.
In my class I use Active Objects layer.

Im using for example

public ExampleEntry getID(String id){
return ao.get(ExampleEntry.class, 3);
}

It's working fine, I have result in my Velocity, but implementing Entity in Jira Api it's a little difficult like. Not like in JpaRepository.
How can I make simple CRUD operations, like get Issue, delete issue, update issue, get list of issue. Thanks for respond

1 answer

0 votes
Alexey Matveev
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.
November 7, 2018
lpopek November 7, 2018

How can I retrieve all issues with specified KEY for example XYZ with active objects. 

for example 

ao.findWithSQL()

or

ao.findAll 

Suggest an answer

Log in or Sign up to answer