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,298,361
Community Members
 
Community Events
165
Community Groups

Can Jira Automation replace/edit part of the summary field

I need to change the country code in the summary filed from ABC to BCD for 30 tickets. I was trying to use Jira automation - maybe there is another option, can someone help?

1 answer

1 accepted

2 votes
Answer accepted

Hi @Radek Dering 

Yes, you could do that using JQL to select the issues for changing and then using the replace() function to alter the text.  For example:

  • Trigger: manual trigger
  • Branch: JQL to find your issues
    • Action: edit the summary field to replace your text: {{issue.summary.replace("ABC", "BCD")}}

Please look at this documentation for more information:

https://support.atlassian.com/jira-software-cloud/docs/smart-values-text-fields/

Best regards,

Bill

thanks Bill, works like a charm

Like # people like this

Hi @Bill Sheboy ,

What if the text in the summary is different from a issue to another issue? For one issue it might be ABC for the other DEF?

Please check my question - https://community.atlassian.com/t5/Jira-Software-questions/Update-story-points-to-the-issue-summary-using-automation/qaq-p/1683810

Thanks

Like Danielle Bonneau likes this

Hi @Samuel Prathipaty 

I answered your question in the thread you noted, using: substringBefore()

Best regards,

Bill

Like Samuel Prathipaty likes this
Like Bill Sheboy likes this

Does this work for server version as well. 

Hi @Rich Imbrogno 

First thing, I am using the Cloud version, and...

According to the documentation for the Server/Data Center version of automation the function substringBefore() is supported: https://confluence.atlassian.com/automation/text-functions-993924863.html

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,853 views 37 48
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you