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: 

Is there a way to collect Insight Imports result with groovy?

Eugeny Chernyavsky
Contributor
April 14, 2023

We have installed Insight version is 9.1.13, and we really would like to grab the results of Imports on daily basis.

The only info I've managed to find with Groovy is Configuration info about ImportSource and ImportSourceOT objects.

We really would like to have possibility to get some import run data like finished time, import results, errors if happened...

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Eugeny Chernyavsky
Contributor
April 17, 2023

We've configured database Insight import from AO_8542F1_IFJ_IMPORT_SRC and AO_8542F1_IFJ_PRG_RES and getting the reports for insight imports with the help of insight import. Looks like this is the way for now

Thanks

0 votes
PD Sheehan
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 Champions.
April 14, 2023

The closest I can find is ProgressFacade.

But there is no method to list all the recent progress results.

It might be behind some hidden/internal API.

The only option I can think of is to query the db directly (AO_8542F1_IFJ_PRG_RES).

Eugeny Chernyavsky
Contributor
April 16, 2023

Thank you for suggestion
I saw that before, but couldn't find they way to take Progress object except running import from groovy (start import method returning Progress object)
Maybe I missed something else...