How to identify the tool id in Devops tool is correct or not using Rest API explorer

Hitesh_Mourya
Tera Guru

we need to identify the tool ID in Devops change velocity integration and check in Rest API explorer can any one please suggest what are the steps to identify tool ID and verify it

2 ACCEPTED SOLUTIONS

MattiasJonsson
ServiceNow Employee
ServiceNow Employee

Looking at the [sn_devops_tool] table, there's no individual "ID" column other than the SysID.

Same goes for the [sn_devops_tool_integration] table.

 

Not sure what you're really asking or what the required outcome is.

 

If helpful or correct, please indicate so!

View solution in original post

MattiasJonsson
ServiceNow Employee
ServiceNow Employee

Ah, I see. I see on https://docs.servicenow.com/bundle/utah-api-reference/page/integrate/inbound-rest/concept/devops-api... that the toolid is the sys_id of the relevant record from [sn_devops_orchestration_tool].

 

The error message you see however might be related to something else.

Looking at the examples here I see there's another parameter "tooltype" that is of type string, as an example "Jenkins" or similar.

 

If that doesn't help, look deeper into the logs to see if you can find more info.

 

If helpful or correct, please indicate so!

View solution in original post

5 REPLIES 5

catherinewil
Mega Expert

To identify and verify the tool ID in DevOps Change Velocity Integration using Rest API Explorer, follow these steps:

  1. Access Rest API Explorer: Open the Rest API Explorer provided by your DevOps tool.
  2. Authenticate: Ensure you have the necessary authentication (API key or token).
  3. Find Tool ID Endpoint: Locate the endpoint that retrieves tool information. This is often something like /api/tools or /api/tools/{id}.
  4. Retrieve Tool IDs: Make a GET request to the endpoint to list all tool IDs.
  5. Verify Tool ID: Compare the retrieved tool IDs with the one you need to verify.
  6. Check Tool Details: Make a GET request to /api/tools/{id} with the specific tool ID to confirm its details.

 

For specific guidance, you can contact Impressico Business Solutions, which specializes in DevOps integrations and solutions.