Team,
Our sprint patterns are like below..
EARTH XA7.1 MAR10
EARTH XA8.1 APR10
EARTH XA9.1 MAY10
I need to write a smart value to find out XA number by using sprint assigned.
Eg : I assigned "EARTH XA7.1 MAR10" sprint to a story, Now i need to write a smart value to extract to XA number to it belongs - In above case the XA number is 7.
Please help.
Thanks in advance.
Hi @Raju Mandapaka ,
Base on your format, meaning the XA number will be find between "AX" and "." .
This smart value below will get the last sprint name text between "XA" and ".":
{{issue.sprint.last.name.substringBetween("XA",".")}}
Thanks for the information, but i am having a few cases where sprint names are as follows
MARXA XA3.2 May22
In this case above smart value is not working.
Tried few options like charAt functionality, but not able to pass smart value in charAt functionality.
Thanks,
Raju
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Base on your new case MARKXA have XA that is why you got an error. So you can add space at the beggining just to make text unique. Please dont add new case like this - MAK XA XA3.1 because you will got error again. :)
{{issue.sprint.last.name.substringBetween(" XA",".")}}
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.