BugID in API

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
Tonyb
Posts: 20
Joined: Fri May 05, 2006 5:36 pm

BugID in API

Post by Tonyb » Fri Sep 08, 2006 11:18 am

is there a way to get the Bug ID entered in the commit changes window via the Client API?

The Bug field allows the user to type in data even if Bug tracking was set to none, so i assumed vault stored that value somewhere. I am trying to write a server plugin to update our bug tracking application but couldn't figure out if vault even stored the bug ID. If vault doesn't do anything with that field when Bug tracking is set to none then the client should disable that field.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Fri Sep 08, 2006 3:03 pm

Are you using Dragnet as your bug tracking system or something else?

Tonyb
Posts: 20
Joined: Fri May 05, 2006 5:36 pm

Post by Tonyb » Fri Sep 08, 2006 3:10 pm

No, bugzilla, that is why i was writing a plugin to do the integration.

My plan was in the plugin on the EndTx method to get the transaction ID, BugID, and comment then add a comment and link the the transaction details to that specific bugID on our bugzilla server.

I have a proof of concept working to get the comment and transaction ID but I can't find a way in the client API to get the Bug ID that was entered.

If I can't get the bug id that way I'll just have to enter the ID as part of the comment and parse it out.

(we are using vault 3.5 btw)

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Mon Sep 11, 2006 2:37 pm

I was informed that you should get the TxDetails for the transaction. It should have the comment which you could use for the bug.

Post Reply