I'm trying to create a defect in Rally from another program (Cherwell) using the REST API. I'm able to create the defect, but only if I use the User objectID for SubmittedBy and Owner. I'd like to be able to create the defect by using a display name, or email address to populate these fields.
Do I need to perform some sort of lookup first to return the value? The program that I'm using has limited features to build the URLs, so not a lot of advanced coding capabilities. Any thoughts? An example of the parameters that I'm building would look like this:
{
"Defect":{
"Name": "Incident.Short Description",
"Description":"Incident.Description",
"Environment":"Production",
"Severity":"DefectSeverityCalc", #(This is a calculated field based on the impact set on the incident reported)
"Priority":"N/A",
"Submittedby":"46965293434", (This is where I'd love to use an email address or full name)
"Owner":"4943785267934",
"Project":"50385372914"
}
}