Forums

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

Any one know about workspaceId, globalId and canManage in JIRA Assets object schema REST API

Ravi Prasad August 28, 2024

In the ASSETS Object Schema REST API Document (Assets Object Schema REST API ) there is no details information about 

workspaceId, globalId and canManage in JIRA Assets object schema REST API. If any one knows about this could let me know.

Regards,

Ravi Prasad.

1 answer

0 votes
Anusha A
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 5, 2024

Hi Ravi,

Thanks for reaching out to community. 

Below is the information that you are looking for -

  • workspaceid : Is the Assets ID of the Jira Instance , each Instance has one workspaceID , which can be retrieved by running the API : Get Assets WorkSpaces
  • globalId : Is rarely used for querying Jira Assets and is more of a customized Integration, we see it is used when using RemoteLinks and Application Links, can read more about it HERE.
Updating a Remote Link by global IDWhen you create a link, you can optionally supply globalId – an identifier that uniquely identifies the remote application and the remote object within the remote system. This globally unique identifier can be used to update or delete existing links on an issue.
POST http://localhost:8090/jira/rest/api/latest/issue/TST-1/remotelink


{
    "globalId": "system=http://www.mycompany.com/support&id=1",                          
    "object": {                                                     
        "url":"http://www.mycompany.com/support?id=1",
        "title":"customer support issue (RESOLVED)"                        
    }
}
 
  • canManage : Assets can have Multiple Objects Schemas that a customer can create, but some are In-built and created by default in Jira and one of them is known as “Services” - which is linked to Jira Affected Services Field, these are inbuild and cannot be managed by the Customers. Reviewing the outputs here Get ObjectSchema List we can notice that CanManage : False for Services Schema, meaning they cannot be managed by the users.

I hope the information provided is helpful. If you have any questions, please feel free to ask.

Regards,

Anusha A

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events