Skip to content

jeffwysong/jirareporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 Source code

The advantages

  • 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.

Settings

  1. Install plug-in in < TeamCity Data Directory >/plugins and restart TeamCity server;

  2. Add Build Step JIRA Reporter to your configuration.  
Important! In order to create an account Build Step must be the last step in hierarchy;

  3. Plug-in parameters:

pluginParams

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.

Example of JIRA result output:

commentJira

Template for JIRA comment

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.

About

TeamCity plugin for JIRA reporting

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%