TeamCity 5 - Issue tracker plugin

Hi guys,

After installing TeamCity 5 is saw that it's now possible to integrate with issue trackers.
The list of supported issue trackers is now: Jira, Bugzilla and YouTrack.
I would like to develop a plugin for FogBugz support.

Any documentation about that?

8 comments
Comment actions Permalink

Hi The-MeLLeR,

Unfortunately, the documentation about it isn't ready yet, also we want to publish the common implementation part into open-api. But for now you can start with the following interfaces:
SIssueProvider - represents a single provider (connection) to the issue tracker, extends IssueProvider;
IssueProviderFactory - a factory for creating providers;

All  interfaces are in jetbrains.buildServer.issueTracker package. You may need to implement several more optional interfaces, but these are main.
A brief explanation can be found in the javadoc to these interfaces.

As for the UI part, you need to add a special JSP: <plugin>/admin/editIssueProvider.jsp, which will be loaded on admin page for creating/editing providers.

Basically that's all.


---
Maxim

0
Comment actions Permalink

I am very interested in any progress made on this plugin, and would be happy to help develop... eagerly awaiting API docs.

0
Comment actions Permalink

I didn't start on it.. Sorry?

0
Comment actions Permalink

Hi Dan,

The doc is almost ready. But it's likely that the common code for Issue Tracker plugins will be put into open-api only in 5.1. So you'll need to wait for 5.1 EAP (expected in January).
But if that's really urgent for you I can upload a pre-version of the doc and the sources.

---
Thanks, Maxim

0
Comment actions Permalink

No rush, I can wait until January.

Have yourselves some happy and relaxing holidays!

0
Comment actions Permalink

OK, thanks.
I'll post in this thread, when everything is ready (if won't forget =).

Happy holidays for you too!


---
Maxim

0
Comment actions Permalink

Dan,

The doc will probably be published together with open-sourcing some plugin, see/watch TW-9103.

0
Comment actions Permalink

Hi guys,

I'd like to continue what The-MeLLeR had posted.

I'm trying to have a FogBugz as one of my Issue Trackers and send out an email when a Case/Bug got fixed and pushed to master branch.

So far I find out that I need to modified main-congif.xml under the TC data directory adding the new <transformation-pattern> tag which will point to my Fogbugz server.

I have done like this:

1.Modified  C:\ProgramData\JetBrains\TeamCity\config\main-config.xml 

2. Adding :

<transformation-pattern search="(Case|case|Bug|bug|Story|story|fb|FB|Fb)\s+(\d+)" replace="&lt;a target=&quot;_blank&quot; title=&quot;Click to open the case a new window&quot; href=&quot; https://calyxsoftware.fogbugz.com/?$2&quot;&gt;Case $2&lt;/a&gt;" description="FogBugz Case" />

under the <comment-transformation> tag.

I have tried the other one from this link: https://our.fogbugz.com/default.asp?fogbugz.4.23985.0

Still wasn't able to see the new Connection Type for Fogbugz.

There's is a plugin created by jozefizso(https://github.com/jozefizso/teamcity-fogbugz) but still not able to get new Connection type. I have moved this (teamcity-fogbugz-master.zip) file under the data folder plugin, and was able to see it as a new external plugin. But not sure what's the next step. 

 

0

Please sign in to leave a comment.