I have 2 workflows in a third-party application that generate results from a Rally query - one works, the other does not. (Essentially I'm creating a defect or user story and then returning the ID back to the application as a cross-reference field)
Working - Defect Query:
I build a query string that looks like this: defect?query=(Name%20contains%20{token})&fetch=FormattedID
The token variable is assigned, and the query sent out. The result is stored in a variable, and I get the FormattedID. (DE3203)
Not Working - User Story Query:
I copied the same action and changed the query string to this: hierarchicalrequirement?query=(Name%20contains%20{token})&fetch=FormattedID
The result is stored back in the variable, but in this case, I end up with the first 6 characters of the entire result: {QueryResult":{_rallyAPIMajor........
The result shows that it found the UserStory, and it shows the correct Formatted ID in the result, it's just not stripping away everything but the FormattedID.
I'm not sure what the difference is, unless maybe the User Story FormattedID or Fetch is handled differently? Any thoughts would be appreciated.
------------------------------
- Keith Jones
- MCIC Vermont
------------------------------