Forums

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

How can I access jira tables?

Alexander_Sergeevich_Denisenko June 13, 2020

As I understand it, with the help of an active object I can make queries to my AO tables, but I need to go to the jira tables and pull out the information I need from there, without using ComponentAccessor. 

1 answer

0 votes
Nic Brough -Adaptavist-
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.
June 13, 2020

Your question is a bit fuzzy.  What do you mean by "go to the jira tables without using componentaccessor", for example?

Alexander_Sergeevich_Denisenko July 3, 2020

for example, I need to get the data and form json, can I do this at the stage of accessing the sql database by querying the jira tables and map the result into my object. I thought to use ActiveObject but it only provides access to my own tables, not to jira tables

Nic Brough -Adaptavist-
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.
July 3, 2020

You could, but you'll need to code for a data source, the data dictionary and work out all the different places things live in the database and how they are tied together by the code, and you'll not be able to get things that are calculated.

Why are you reticent to use componentAccessor?  Something that directly uses the API and is a few lines of code (possibly already available in SR docs or library) is going to be a better option than thousands of lines to do all the above.

Suggest an answer

Log in or Sign up to answer