Forums

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

Issue Calling Variable

kevin m
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 19, 2025

I created a variable (softwareVersion) with the syntax: substring(issue.summary, indexOf("Version ") + 7, indexOf(" ", indexOf("Version ") + 7))

 

Within the same rule, when I attempt to create a new issue with the variable as the summary title, it displays the whole substring... syntax, not the actual value

 

 

2025-02-19_09-03-56.PNG

1 answer

0 votes
Trudy Claspill
Community Champion
February 19, 2025

Hello @kevin m 

Welcome to the Atlassian community.

Please show the details fo the Create Variable step.

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 19, 2025

Hi @kevin m -- Welcome to the Atlassian Community!

Adding to Trudy's suggestions...

Also please post an example of your issue Summary which contains the version.  This will help verify if the parsing syntax is accurate for the variable.

Kind regards,
Bill

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 24, 2025

Hi @kevin m 

Just checking if the suggestions resolved your question.  If so, please consider marking them as "answered" to help others with similar needs find solutions faster in the future.

If not, please respond with additional details so the community can help.  Thanks!

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events