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

String removal automation

Mark Jennings September 16, 2022

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
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 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.

Mark Jennings September 16, 2022

That worked perfectly, thank you :)

Like Mark Segall likes this
0 votes
Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 16, 2022

@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
AUG Leaders

Atlassian Community Events