Plug-in is designed for sending build results from TeamCity in JIRA ticket and it is also possible to move the issue through your workflow. Report are sent as comments to the issue.
Download plugin (6.1 Mb) Source code Release notes
- Sending TeamCity build results from any VCS branch;
- Moving the issues through workflow, depending on the results of TeamCity builds;
- Sending report of TeamCity build on several issues at the same time.
-
Install plug-in in < TeamCity Data Directory >/plugins and restart TeamCity server;
-
Add Build Step JIRA Reporter to your configuration. Important! In order to create an account Build Step must be the last step in hierarchy;
-
Plug-in parameters:
Get issue from:
Field, determining the method of getting id issue:
JIRA Reporter - connected id of the issue is indicated in the plug-in settings;
VCS Comment - issue id is taken from vcs commit, for that it’s needed to set up integration of TeamCity, Administration -> Issue Tracker -> Create new connection.
Example:
git commit -m "fix for EXAMPLE-123"
Enable issue progressing:
Movement of the issue through the workflow turns on depending on test results;
Enter your JIRA workflow for issue progressing:
Appears when turning on Enable issue progressing;
Field to insert the requirements for issue movement through workflow.
Format for inserting requirements:
SUCCESS:In Progress-Resolve Issue,Closed-Deploy,In Testing-Close Issue;
FAILURE:In Progress-Reopen Issue,In Testing-Reopen Issue,Closed-Reopen Issue;
Enable SSL connection:
Needs to be turned on if JIRA server uses SSL connection.
Activate checkbox for editing template, and write yourself template of JIRA comment.
Also you have defined parameters:
*status.build*, *build.type.name*, *tests.results*, *teamcity.server.url*, *build.id*, *build.type*.
Example:
*build.type.name* : *status.build*
*test.results*
Template example.