icon

Update JIRA issues with build number

Update fields of JIRA issues with build number.

Update fields of JIRA issues associated with current MR/PR, with the current build number.

How does it work?

First, the step needs to know tasks associated with the build, so it examines Git history of the merge that it was triggered by. Each merge request can have multiple tasks related to it. So step extracts all the messages of commits involved from the merge commit, and it looks for task keys using a predefined format (for example, [ABCD-1234]). Then using JIRA API, it updates custom fields of these tasks with current build number.

Additionally step can keep ticket history from failed/aborted builds. It uses Bitrise API to gather information about the commits from all aborted or failed builds preceding the current one.

The step does not clone git repository by itself, instead it is using the one located at $BITRISE_SOURCE_DIR. Make sure repository is cloned before using it (guide).

Useful links

Similar steps

Updates a JIRA issues field like Fix version or Links. Existing value is overwritten.

This step will use ImageMagick to stamp the version number to all icons.

Get the version from the pubspec and sets the environment variables

Git tag project version and build number