Forums

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

Jira project automation

gloria pechacek October 4, 2022

Hi All,

How would I create a project automation to link tickets automatically when they are the same subject line but have "re:" or "fwd:" in front of the new ticket. 

Thank you.

3 answers

1 accepted

0 votes
Answer accepted
Mark Segall
Community Champion
October 4, 2022

Hi @gloria pechacek and welcome to the community!

You could do something like this:

  • TRIGGER: Issue Created
  • CONDITION (Advanced)
    Verify the new issue has "re:" or "fwd:" in the summary
    • {{issue.summary}}
    • contains regular expression
    • (re:|fwd:)
  • BRANCH (JQL)
    We'll perform a branch looking for the issue(s) that match
    • summary ~"{{issue.summary.replaceAll("(re:|fwd:)","")}}"
    • ACTION: Link Issue
      • Link issue to the trigger issue
0 votes
gloria pechacek December 2, 2022

I've been testing this for a bit now.   Can you review to see if I setup it up correctly. In some instances, I get two duplicate RE: tickets 

 

2022-12-02_10-13-20.jpg2022-12-01_8-20-21.jpg

Mark Segall
Community Champion
December 2, 2022

Hi @gloria pechacek

If memory serves, this rule is not creating issues so the duplicates would've been generated manually.  Are these issues getting properly linked to the source issue?  If not, please share a screen shot of the audit log for the failed rule execution.

0 votes
gloria pechacek October 10, 2022

Thank you. I've set it up and testing. 

Suggest an answer

Log in or Sign up to answer