Automation: setiing values for created variables

Johannes Fuenger April 5, 2024

Hi there,

I am justbstarting with JIRA and I am creating a rule.

I am currently defining a variable and would like to set the value like 

{{issue.summary.substringsbetween(", ","-")}}

this doesn't work.what might by the issue?

Kind Reagrds

2 answers

0 votes
Mark Segall
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 5, 2024

Hi @Johannes Fuenger and welcome to the community!

I believe you have a typo in there. should be substringBetween (no additional 's')

{{issue.summary.substringBetween(", ","-")}}
0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 5, 2024

Hello @Johannes Fuenger 

Welcome to the Atlassian community.

You have used the wrong function name.

The correct function name is substringBetween(), not substringsBetween()

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-text-fields/#substringBetween-String-open--String-close-

Suggest an answer

Log in or Sign up to answer