It's all about the answers!

Ask a question

mapping CQ workflow state to workitem state


Gary Dang (59328855) | asked Jan 22 '08, 5:06 p.m.
I am not able to get CQ workflow state to workitem state running successfully. Any pointer on setup steps?

2 answers



permanent link
Gary Dang (59328855) | answered Jan 22 '08, 6:26 p.m.
I tried the following suggestion and still get the error below. It appears that CQ connector is not able to grab the value of CQ state.

"In the beta 2 build, you use a "synthetic" property named "StateResolution" for both work items and CQ records. It's value can be just a state name (e.g. "Submitted"), or a combination of a state and a resolution value separated by a slash (e.g. "Resolved/Fixed"). You enumerate all the possible values for your work item work flow and CQ state transition matrix, and map them to each other in the sync rule. See the sample Workitem-Defect.xml file for how we did this for the work flow from the Eclipse Way process template and the CQ DefectTracking schema. "



Incoming at 1/22/08 5:26:13 PM CST
Error occurred:
com.ibm.team.repository.common.TeamRepositoryException: No mapping defined for value "null" of property "State"

permanent link
John Vasta (2.6k15) | answered Jan 23 '08, 8:30 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
The error message seems to indicate that your sync rule is defining a mapping for the "State" property, not the "StateResolution" property. Can you post the XML for the entire sync rule here?

John
ClearQuest Connector Team

I tried the following suggestion and still get the error below. It appears that CQ connector is not able to grab the value of CQ state.

"In the beta 2 build, you use a "synthetic" property named "StateResolution" for both work items and CQ records. It's value can be just a state name (e.g. "Submitted"), or a combination of a state and a resolution value separated by a slash (e.g. "Resolved/Fixed"). You enumerate all the possible values for your work item work flow and CQ state transition matrix, and map them to each other in the sync rule. See the sample Workitem-Defect.xml file for how we did this for the work flow from the Eclipse Way process template and the CQ DefectTracking schema. "



Incoming at 1/22/08 5:26:13 PM CST
Error occurred:
com.ibm.team.repository.common.TeamRepositoryException: No mapping defined for value "null" of property "State"

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.