Hi,
We are trying to implement an automation which would add or replace a fixed in build tag based on the project. It's important to note that we need to do it based on the project because there are some situations when one ticket affects multiple projects.
We are using JIRA webhooks in our Jenkins pipelines, and for every project we call a webhook with a version parameter which should be added (if the version tag for that project does not exist) or replaced (if tag with previous version is already defined).
To achieve that we tried the following:
1. Defined smart value for every project in our edit issue automation

2. In project related Jenkins pipeline we define the webhook body, for example:
Project 1: {"issues":["DEVTEST2-1"], "aesFixedInBuild": "AES_6.1.3-123-RELEASE"}
Project 2: {"issues":["DEV2TEST-1"], "epgFixedInBuild": "EPG_6.1.3-321-RELEASE"}
The problem we encountered is that every time we trigger the webhook our automation adds the new tag instead of replacing the old one. So for example our fixedInBuild field looks like:
But, the desired behavior is:

Is it possible to achieve this? Thanks in advance!