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.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, this removes everything except the 17 characters from the right.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I want to remove the first 17 characters of the summary.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.