JiraIssueKeyExtractor task extracts Jira Keys from Pull Request's branch name and commits of the build. The extracted
values will be propagated as Jira.Keys
variable.
This extension provides Pull Request's branch name and commits analysis and publishing Jira Keys. IndiviualCI and TfsGit is the only supported way of extraction.
Integration sample for Build Pipeline:
jobs:
- job: Build
steps:
- checkout: self
clean: true
- task: JiraIssueKeyExtractor@1
env:
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
condition: eq(variables['Build.Reason'], 'IndividualCI')