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
Visualizing Work Across Teams with Plans in Jira Software
Learn how to use Plans to accurately map your team’s work and make better recommendations.
The Beginner's Guide to Agile in Jira
This course has everything you need to get started with agile and Jira Software.
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.