Hi,
I am trying to create an automation that when tickets enter a certain status the following happens:
The main issue is I need to search for a keyword in the unreleased version name and then add the respective version to the ticket in the fix version field.
Does anyone have any suggestions on how I can do this?
Thanks!
Hi @Heather Ronnebeck ,
This worked for me
1. Choose 'Edit Issue' -> 'More Options'
{
"update": {
"fixVersions": [
{
"set": [
{
"name": "{{#project.versions}} {{#if(not(released))}} {{#if(name.contains(\"Smart\"))}} {{name}} {{/}} {{/}} {{/}}"
}
]
}
]
}
}
If both your Team and the specific version number you show in the examples are unknown until the rule runs, the REST API will be needed to find the versions.
The rule could use the Send Web Request action to call the endpoint to search for the matching versions by their name, status, etc., parse them out with text functions from the webhook response, and then use a JSON edit to update the issue with the version name.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This should be fairly straightforward to do in automation. Have you attempted it yet, and if so, are you encountering any problems?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.