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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.