Method as an argument DOES work (as opposed to what I thought first), but it doesn t make sense in this case:
$space.key.substring($space.key.length())
What I actually wanted:
$space.key.substring($space.key.length() - 2)
But the expression as an argument doesn t work. Should it?
Thanks
G.
## @noparams #set($len = $space.key.length() - 2) $space.key.substring($len)
Workaround with var
not testet but try
$space.key.substring(${space.key.length()} - 2)
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.
Recommended Learning For You
Level up your skills with Atlassian learning
Jira Align Program Essentials
Learn how to use Jira Align at the program level and how to plan for and manage your Program Increment (PI).
Managing Agile Boards and Reports
Learn how to pick the right board type for your team and customize it to fit your specific requirements.
Atlassian Certified Associate
Jira Software Board Configuration
Earn an associate-level credential from Atlassian that shows you can effectively configure Jira Software boards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.