I would like to create an automation that will copy the app version number from the description field and paste it into affected version field. Attached screenshots shows what the format of the app version number can look like:
Any thoughts on how to do this?
Hello @kashifsaleem
Welcome to the Atlassian community.
Is the content of the Description field formatted in a consistent manner so that you can identify which piece of test is the app version number? Does it have some sort of label preceding it, and a new line or consistent text following it?
Has a release Version already been created for the app version numbers that may appear in the Description field?
What if a number is provided that doesn't match an existing version?
Hi @Trudy Claspill thanks for replying so quickly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @kashifsaleem
You can use the substringBetween() function to extract the version information from the Description field:
{{issue.description.substringBetween("Version|","|")}}
If you want to overwrite all other values that might already be in the field, then you can set that field directly to that smart value in an Edit Issue action.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.