I have setup a simple listener to create an issue when a field is selected in JIRA during an update event. The problem is, when a further change is made to the same ticket (which generates another update event) the listener picks this up and creates another issue (providing the condition is still true)
How can I amend the listener to create an issue only when the specific action is done, and nothing else.
Condition:
'SpecificValue' in cfValues['SpecificCF']*.value
Thanks all.
Steps to recreate:
- Create issue 1234
- Update custom field (SpecificCF) in issue 1234 to SpecificValue
- This will now create a new issue 1235
- Update the description of issue 1234
- A new issue has been created 1236