This feature is available for JIRA Server only.
Starting from version 2.6.0, TeamCity Integration for JIRA add-on allows you to configure the Run a Build post-function. It allows you to remotely run builds on TeamCity server from JIRA during transition of the issue to the specific status.
Before proceeding to configuration of this post function, please refer to the documentation about management of post functions in JIRA.
Adding a Post Function
- Navigate to JIRA Administration > Issues > Workflows.
- On the list with workflows, locate the workflow which you want to add the post function into
- Click Edit.
- Select the appropriate transition between issue statuses during which the post function will be executed.
- On the sidebar, click Post Functions.
- Click Add post function.
- Select Run a Build.
- Click Add.
- On the Add Parameters to Function page, define configuration of the post function, as follows:
- TeamCity - select the appropriate TeamCity server where the automatic build running will occur.
- Project - select the appropriate project.
- Build Configuration - select the build configuration for running a build.
- Comment - specify the comment that will be automatically appended to the build.
- Properties - define the additional parameters that will be applied to the build execution. For the details on parameters, please see this page.
- Click Add. A new post function will appear on the list.
- Save the workflow.