How to associate workitem with changeset to deliver change?
![]()
Hi All,
I've tried the API snippet for delivering a changeset to Stream.
Now, delivering to the newly create streams works perfect. But when I try to deliver to the stream that I created using a scrum template. After running the delivery code, the changes made are still just in the workspace and NOT delivered to the stream. I had to explicitly use RTC's client and to associate the change set with a workitem. I'm guessing that's where the problem lies. Now the question is, how do we associate the changeset with workitem? Any help is appreciated. Thanks! |
3 answers
![]()
I believe the process associated with a stream of a Scrum process area requires either a work item or a comment. Setting the comment can be done fairly easily:
SCMPlatform.getWorkspaceManager(workspace.teamRepository()).setComment(changeSet, comment, monitor); |
![]() I believe the process associated with a stream of a Scrum process area requires either a work item or a comment. Setting the comment can be done fairly easily: Thanks for the reply! I've now done both associated a work item and added a comment. However, seems like the change set still can't be delivered to the stream. I'm not seeing any API errors though. Also, when I manually use the RTC GUI to "Deliver" the pending change set, it can complete successfully without any errors. Do you have any idea what might cause that problem? Could it be because I do did not assign an Iteration to the associated work item? |
![]()
hmm, guess not.
I've set the WorkItem Planned Iteration as well. However, the changes are still not delivered to the specified stream through API. Running out of options here. Could this be a API bug? |
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.