Skip to content

allknower/jirareporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

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,

Identifiers are collected from the related issues of all builds until the last successful one. To do this, you need to configure TeamCity integration with your task tracker (Administration -> Problem Tracking -> Create a 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;

This feature is temporarily disabled.

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:

${build.id}
${build.type}
${build.name}
${build.number}
${build.status}
${build.status.style}
${build.weburl}
${tests.results}

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%