Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Update Description field on Transition with a smart value

I am looking to update the description of an issue on a transition with a post function.

The goal is to replace a certain piece of the url with the {{issue.summary.charAt(2)}} from the original ticket summary.

Example: Insert this into the description with the post function the value of the field set to:{{issue.summary.charAt(5)}}/issue

The outcome I would expect from a Issue Summary: Test 3 would be

but the description is updated and does not convert the smart value. sting{{issue.summary.charAt(5)}}/issue

Any ideas on how to make this execute and fill in the correct number from the summary or other workaround


1 answer

0 votes
John Funk Community Leader Mar 18, 2021

Hi @FR Jira Dev  - Welcome to the Atlassian Community!

What is it actually returning? 

Hi John, I actually got it to return correctly with a less than ideal workaround using {{issue.summary.substringBetween("e","s")}} but it makes it so we cannot have spaces in the summary.  What I really want is characters at 5,6 but only if they are numerical values of 1-9, ignore spaces. 

The issue is when here is a single digit example 5 vs 12 it would return correctly.  Is there a way to do this? Right now it is causing an error with a single digit because it returns a digit for char 5 but char 6 is a letter when a single digit.

Example - Size 1 Shirt would return

But if it was Size 12 Shirt would return

Using the above it has to have a summary of  Size1 Shirt and Size12 Shirt is required.

Is there an approach to have spaces and only return digits?

Hi @FR Jira Dev -- Welcome to the Atlassian Community!

What else is in your summary that you are pulling the value from?

Have you considered using a RegEx expression and the Match() function to pull the values out?

Best regards,


Like John Funk likes this
John Funk Community Leader Mar 19, 2021

@Bill Sheboy probably has the best suggestion for this, using RegEx expression. 

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Jira Service Management

ThinkTilt is joining the Atlassian Family!

This morning, Atlassian announced the acquisition of ThinkTilt , the maker of ProForma, a no-code/low code form builder with 700+ customers worldwide. ThinkTilt helps IT empower any team in their or...

284 views 16 17
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you