Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,361,794
Community Members
 
Community Events
168
Community Groups

String removal automation

Ok, so I'm trying to remove a string from the 'summary' field via scheduled automation or manual. From the scheduled screen I can see I have issues found but then further in to query it fails. I'm hoping someone can point me in the right direction.

I assume scheduled and on issue creation would be the same?

2022-09-16_10-05-13.png2022-09-16_10-08-56.png2022-09-16_10-09-33.png

2 answers

1 accepted

5 votes
Answer accepted
Mark Segall Community Leader Sep 16, 2022

Hi @Mark Jennings 

You shouldn't need to use advance JSON for this.  

Just select Summary from the "Choose fields to set" dropdown then enter this:

{{issue.summary.remove("FW:")}}

That should work.  If you encounter any further issues, please share a screenshot of the failure in the log.

That worked perfectly, thank you :)

Like Mark Segall likes this
0 votes

@Mark Jennings -

Glad that @Mark Segall suggestion helped you.  Here is something that you should always use when you setup an automation rule and conduct manual testing it out prior your actual implementation (maybe you are already doing so).

https://support.atlassian.com/cloud-automation/docs/debug-an-automation-rule/

Hope this also helps you.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Infrastructure Applications Team

Viasat Inc.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Jira Service Management

An unofficial way to monitor a JSM mail handler for errors

...eturns true if any content is returned for the webResponse.body.data.first s...

718 views 3 20
Read article

Atlassian Community Events