Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Navigate to JIRA Administration > Issues > Workflows.
  2. On the list with workflows, locate the workflow which you want to add the post function into
  3. Click Edit.
  4. Select the appropriate transition between issue statuses during which the post function will be executed.
  5. On the sidebar, click Post Functions.
  6. Click Add post function.
  7. Select Run a Build.
  8. Click Add.
  9. 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.
  10. Click Add. A new post function will appear on the list.
  11. Save and publish the workflow.

Editing the Post Function

  1. Edit the project workflow.
  2. Select the appropriate status transition during which the build execuition is triggered.
  3. Select Post functions.
  4. Locate the Run a Build post function you want to edit.
  5. Click the Edit Image Added icon.
  6. Make the appropriate modifications.
  7. Save and publish the workflow.

Deleting the Post Function

  1. Edit the project workflow.

...

  1. Select the appropriate status transition during which the build execuition is triggered.
  2. Select Post functions.
  3. Locate the Run a Build post function you want to delete.
  4. Click the Delete Image Added icon.
  5. Save and publish the workflow.