How to Get Included Work Item ID in Builds
Hi,
One of my customer uses an extension to trigger a build when a work item reaches a specific state (actually it is the extension in RTC extension lab). The build has post-delivery options to deploy successful build outcomes with UrbanCode Deploy. That part works fine. However, my customer asks to move the work item which is included in build to next state after successful deployment. In that case, I have to pass work item ID in builds to UrbanCode Deploy (UCD) and use UCD RTC plugin to move it to next state. However, I couldn't find the required build parameter for work item ids.
Could you please help me?
Thank you.
Accepted answer
Hi,
I added a property (RTCBuildResultUUID=${buildResultUUID}) to build definition which helps me to pass build result UUID to UrbanCode Deploy as a component version property. I also developed a utility with RTC's Plain Java API. The utility finds included work items in build according to buildResultUUID and change their status. I added that utility as UCD component process step. That solved my question/problem.
Thank you.
Comments
Lakshmi Narasimhan T V
JAZZ DEVELOPER Mar 12 '21, 5:43 a.m.Kurtulus YILDIRIM
Mar 12 '21, 7:16 a.m.Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Mar 12 '21, 7:20 a.m.