Add refSuffix and refPrefix properties to RefUpdatedEvent
Those new properties can be used as values or conditions.
They can be combined to manage ITS issue fix versions.
On git tag event, we would add the tag name to the ITS issue
fix versions. We could build the following rule:
[rule "add-fixed-version"]
event-type = ref-updated
refPrefix = refs/tags/
action = add-property-to-field refSuffix fixVersions
Here refPrefix would allow to filter only git tag creation
(i.e. filtering out branch creation) and refSuffix would contain
the short tag name to use as the fix version in the ITS issue.
Change-Id: I166fbacdafa341a48fb1680f73e4064f166b72b7
3 files changed