Forums

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

I need a JQL for summary automation

Ryan McGee December 5, 2023

I currently have an Automation to create a Peer Review subtask when the status is moved to Ready For Review. I want the summary of the subtask to read "PEER REVIEW - (summary pulled from parent) or part of the summary from parent. Currently I am using {{issue.summary.concat (" - PEER REVIEW -")}} - {{issue.parent.summary.substringAfter ("")}} eg: Multi-Targeting Chains - PEER REVIEW - when I want it to read PEER REVIEW - Multi-Targeting Chains

But this is generating the subtask summary with PEER REVIEW at the end. How do I swap it?

2 answers

1 vote
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.
December 5, 2023

Hi @Ryan McGee 

You could try to put that literal value at the front when setting the Summary field for the subtask create.  For example:

PEER Review - {{issue.summary}} - ...and so forth

 

Kind regards,
Bill

1 vote
Laurie Sciutti
Community Champion
December 5, 2023

Hi @Ryan McGee ~ try this


PEER REVIEW - {{issue.summary.remove(" - PEER REVIEW - ")}}

Suggest an answer

Log in or Sign up to answer