Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Automation - Grep/regular expression body and append result to summary field

Gavin
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 22, 2021

So does anyone know if this is possible using jira automation.  

ex.

  1. Ticket is created
  2. in the ticket body/description there is the following text
    1. data1: <data-text>
  3. I want to use a regular expression to get the <data-text>
  4. Then take those results and append it to the summary field

Thanks

 

2 answers

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 22, 2021

Hi @Gavin  -- Welcome to the Atlassian Community!

If you are asking about the Automation for Jira (Lite or Pro versions for server), you can do that with the match() function.  Please look here for more information:

https://confluence.atlassian.com/automation/text-functions-993924863.html#Textfunctions-matchmatch()


Best regards,

Bill

0 votes
Nick
Contributor
April 22, 2021

You can't do this with basic Jira automation tool. Use additional apps for this: ScriptRunner or Power Scripts. They might be useful to you in the future if you want to extend the functionality of Jira out of the box.

Suggest an answer

Log in or Sign up to answer