Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

1 accepted

2 votes
Answer accepted
Trudy Claspill
Community Champion
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-

0 votes
Mark Segall
Community Champion
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(", ","-")}}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events