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:
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.
3 files changed