TeamCity 5 - Issue tracker plugin Follow
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?
Please sign in to leave a comment.
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
I am very interested in any progress made on this plugin, and would be happy to help develop... eagerly awaiting API docs.
I didn't start on it.. Sorry?
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
No rush, I can wait until January.
Have yourselves some happy and relaxing holidays!
OK, thanks.
I'll post in this thread, when everything is ready (if won't forget =).
Happy holidays for you too!
---
Maxim
Dan,
The doc will probably be published together with open-sourcing some plugin, see/watch TW-9103.
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="<a target="_blank" title="Click to open the case a new window" href=" https://calyxsoftware.fogbugz.com/?$2">Case $2</a>" 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.