- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?