Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to submit progess to JSM Assets Third Party Import

Siddique afraaz
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 22, 2025

Need to change or update the progress bar when trying to import assets from third party software using the importAssetsType jsm forge module.
image (10).png
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",

          bodyJSON.stringify({
        "objects": {

          "total": <totalCount>,

          "processed": <completedCount>,

          "description": "Importing data"

        }

    }),


          headers: {

            "Content-Type": "application/json",

          },

        }

      );

How can one acheive this?

 

 

 

 

1 answer

0 votes
Marc - Devoteam
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 Leaders.
May 22, 2025

Hi @Siddique afraaz 

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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events