You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
https://insight-javadoc.riada.io/insight-javadoc-8.6/insight-rest/#import says that to run an Insight import via the REST API, I should be able to just POST to /start/import/<id>.
According to the insight-import log, the import I want to execute has an ID of 30, so for my test (on-prem), I posted to https://<server>/rest/insight/1.0/import/start/30 with no body, but all I got back was "Something went wrong. Please contact the administrator."
Is this feature not available in Insight 6.4?
Hi,
just had the same problem.
You have to send a empty JSON Body with "{}"
for example via curl:
curl -u username:password -X POST -H "Content-Type: application/json" -d {} https://YOUR-JIRA/rest/insight/1.0/import/start/7
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.