Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

How do I create a rule to delete a certain number of characters in the summary field.

I have a number of issues being created in Jira by another system. When the issues are created, it has the name of the system followed by a number and then proceeds with the description. I want to be able to remove these first few characters and not the whole summary. 

For example:

RemoveMe #1234546 User is having trouble logging into the application.

In this example, I want to remove "RemoveME #123456". That's it. 

1 answer

2 votes
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 19, 2023

You can do this by using smart values, the ones for text fields can remove part of the string. If the prefix in your summary has a set number you could use right(int length) to get the text you want. If it is not a set number then one of the substring functions should work.

Yes. it is the exact same number of characters from the beginning of each summary. What would the query look like?

Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 20, 2023

So if we use your example above then the smart value would look like this:

{{issue.summary.right(17)}}

This should give you User is having trouble logging into the application.

No, this removes everything except the 17 characters from the right.

I want to remove the first 17 characters of the summary.

Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 20, 2023

No, it returns the characters, from the specified amount of characters, from the right of the text string.

Example, if summary is Hello World! then {{issue.summary.right(6)}} -> World!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events