I want to edit a description to remove some text when a certail label is added to an issue. Basically this:
What is happening here is that one of our customers is creating issues via email that contain a URL to a large image file and it's intrusive, taking up a lot of screen real estate. I'd like to strip out the URL when the customer's label is added. Can this be done?
Are you looking to do this thru automation? Not sure that is possible and certainly not natively. You can certainly edit the description manually and you could create a filter looking for the label and add a subscription that would notify you allowing you to manually deal with the issue.
Hi Jack, I was hoping to do this automatically through Automation for Jira or Scriptrunner. In the meantime, a label filter would do the trick. Thank you for the response!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you may be able to do w/ Scriptrunner but the issue is going to be the potential variability of editing the freeform text field (description). If you are confident that the string of text will remain unchanged and is unique then you are likely safe. As an obvious illustration of what I'm trying to convey... Consider an automation that removes the string "the" from the description whenever labels = "remove string". That description would be an interesting read. :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jack, the string of text that I want to remove links to a gigantic image that takes up a lot of screen real estate. People who work on this customer's issues have a hard time not being distracted by it. As far as I know, the string will remain the same.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
then likely worth trying to automate. especially if it happens frequently. I guess the only question I have is why is it being added at all. but that is likely irrelevant as I'm sure there is either a good reason for it to be there sometimes or simply it is difficult to prevent the creator from adding maybe.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, it's part of an email signature. I suppose the way to get the user to stop is to convince them to use the portal instead of email.
Now I need to figure out how to do this with Scriptrunner. I can do some simple things, but I haven't had the need to do this type of thing until now. Any suggestions?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey, you found any solution for this? I'm also looking for a solution to remove specific Strings in the description of cloned issues.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.