Reply to Message

View discussion in a popup

Replying to:
NWolford51
Contributor
Contributor

I am struggling with the same issue.  I have tried the scriptable task with output of "userName" with no luck.  I have also tried to just call it in the script that we are setting all necessary fields for our Rest API call.  

userName = System.getContext().getParameter("_metadata_userName");

var jsonCI={
"name": vmName,
"engineer":userName,

}
var requestContent=JSON.stringify(jsonCI)
 
What am I missing?
 
Reply
0 Kudos