Can rtc identify/suggest a workitem number while doing checkin/deliver?
Hi,
our scripts that we keep in SCM have workitem number included in their file name (e.g script1_12345.sql). Whenever we do checkin/deliver, we have to type that work item# to relate the changeset to the workitem.
Is there a way for the rtc client to recognize that wi# in the file name and hint us, so that we don't have to type it in, just accept?
Thanks
our scripts that we keep in SCM have workitem number included in their file name (e.g script1_12345.sql). Whenever we do checkin/deliver, we have to type that work item# to relate the changeset to the workitem.
Is there a way for the rtc client to recognize that wi# in the file name and hint us, so that we don't have to type it in, just accept?
Thanks
2 answers
The only option I see is to try to use a follow up action on delivery. I am not sure if that would work. Here is code for an advisor https://rsjazz.wordpress.com/2012/11/01/restrict-delivery-of-changesets-to-workitem-types-advisordelivery-of-changesets-associated-to-wrong-work-item-types-advisor/ the code for a follow up action is very similar.
Note, you can not modify the data in an advisor.
You could also try to add a context menu for the changeset and try to search the files referenced for the numbers and set the item.
Note, you can not modify the data in an advisor.
You could also try to add a context menu for the changeset and try to search the files referenced for the numbers and set the item.
I agree with Ralph. currently the system cannot tell you what id WILL be used for a workitem before it is saved.
so you would have to Save the workitem 1st, then get the value, then fixup and save all the files and then save the workitem again.
why do you want to do this again? the 'file' is not saved in some folder where you can see all the different versions
the changeset ties the file to that workitem.
so you would have to Save the workitem 1st, then get the value, then fixup and save all the files and then save the workitem again.
why do you want to do this again? the 'file' is not saved in some folder where you can see all the different versions
the changeset ties the file to that workitem.
Comments
Donald Nong
Dec 14 '15, 8:55 p.m.Daniel Adam
Dec 15 '15, 2:19 a.m.Geoffrey Clemm
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Dec 23 '15, 12:17 a.m.Daniel Adam
Dec 23 '15, 3:12 a.m.Geoffrey Clemm
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Dec 24 '15, 12:31 a.m.Daniel Adam
Jan 20 '16, 10:26 a.m.