Azure DevOps spoke - credentials via Scripting

George R
Kilo Contributor

I am attempting to connect to our Azure DevOps board (to create a record when a record is created in SN) via the ADO spoke.

 

However, I do not see any content in the dynamic dropdowns for Project Name or Work Item Type:
Screenshot 2023-05-02 at 5.19.04 PM.png

 

I have tried multiple formats in the scripting tool to set the variable, along the lines of 

 

 

var projectName = "My Project";
return projectName;

 

...however nothing seems to work. The test says its run successfully, but nothing ever appears in ADO.
 
Is anyone able to guide me in the correct format to set Project Name and Work Type variable via scripting?
3 REPLIES 3

Sebas Apeldoor1
ServiceNow Employee
ServiceNow Employee

I also found this Spoke somewhat curious, in my use case I am able to use dynamic input in my flow to satisfy its needs. The Microsoft documentation has a decent example of what the payload should look like (link).

 

The project name is typically the first thing in your URL after 'dev.azure.com'. Work type can be 'task' or 'bug', keep in mind that this also depends on the Process type that you apply in your ADO project

Thanks Sebas, we have since understood that there's a missing module. It's not just needing the Azure DevOps spoke - it needs the IntegrationHub module too, at additional cost. 😐

That's a bummer! If you are exploring creating anything custom, in that case, that doc page might prove helpful as well.