Need to change or update the progress bar when trying to import assets from third party software using the importAssetsType jsm forge module.
I have tried providing data using the importsource submitProgress API but no luck it still shows a indefinite load bar with the default text. The code snippet to update using API is:
await api
.asApp()
.requestJira(
route`/jsm/assets/workspace/${workspaceId}/v1/importsource/${importId}/executions/${executionId}/progress`,
{
method: "PUT",
body: JSON.stringify({
"objects": {
"total": <totalCount>,
"processed": <completedCount>,
"description": "Importing data"
}
}),
headers: {
"Content-Type": "application/json",
},
}
);
How can one acheive this?
Welcome to the community.
This is not an option, the API endpoint is there to give you feedback on the processing. This is not able to be shown as a percentage in the GUI.
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.