Plugin and Update Bugs Value
Moderator: SourceGear
Plugin and Update Bugs Value
I have written a plugin using the code on the web site:
http://weblogs.asp.net/jeremy_sheeley/a ... 09102.aspx
My goal is to grab the transaction comment and add it to my Gemini bug database. I can get the comment using the sample code. However, I currently have not found a way to grab the Bug Tracking Integration URL or the BugID listing in the Update Bugs textbox. I can grab the Bug Tracking Application value from the connection in the ClientInstance, but was unable to find the URL value or the UpdateBugs value.
Is it possible to do this from a plugin?
Thanks,
Austin
http://weblogs.asp.net/jeremy_sheeley/a ... 09102.aspx
My goal is to grab the transaction comment and add it to my Gemini bug database. I can get the comment using the sample code. However, I currently have not found a way to grab the Bug Tracking Integration URL or the BugID listing in the Update Bugs textbox. I can grab the Bug Tracking Application value from the connection in the ClientInstance, but was unable to find the URL value or the UpdateBugs value.
Is it possible to do this from a plugin?
Thanks,
Austin
The bug input box is available in VS.NET, but you have to click "Options" first during checkin. Even then you will have to do parsing anyway if for example you want to input multiple issue numbers.Anonymous wrote:ismangil,
I think you might be right that is the best way. I just found out that the bug input box is not available in VS.NET therefore I would not be able to use that information anyway. I will parse the comment and add the comment to the bug using that information.
Thanks,
Austin
Code: Select all
1021 : FailServiceVersionNotSupported
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
Re: Problem to run plugin
The zip file probably comes with old Vault API (pre 3.5) dlls. Just replace them with the current 3.5.1 API dlls. You will find that you need to change some variables relating to DateTime to using VaultDateTime.chanmy8 wrote:Hi,
I downloaded the plug in template and try it. I hit error when I run UpdateRepositoryInformation web method.
I am using Vault 3.5.1, VS2005
Perry Ismangil
If I understand you, you're trying to compile / run the "exact" project from an old blog post. The blog post would not reflect anything over the last 2+ years, so I'm not sure if the sample code will help other than give you some direction on what to do.
In any case, it might be possible that all that has to be done is delete all the .DLLs that come in the blog post download and replace them with the updated .DLLs from a Vault Server/Client installation. I can't say this is guaranteed to work due to changes in the underlying libraries over the past 30+ months.
In any case, it might be possible that all that has to be done is delete all the .DLLs that come in the blog post download and replace them with the updated .DLLs from a Vault Server/Client installation. I can't say this is guaranteed to work due to changes in the underlying libraries over the past 30+ months.
Jeff Clausius
SourceGear
SourceGear
VaultPluginLib can be retrieved from the server installation.chanmy8 wrote:Hi,
I tried to delete all older vaultlib.dll in my machine. Still the same.
VaultPluginLib.dll is not shipped with Vault installation. Instead, It comes with the plugin dowbload package. Do you think we need to recompile VaultPluginLib.dll to refer to latest VaultLib?
Perry Ismangil