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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.