Forums

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

Copying field updates to linked tickets

Renee Tibedeau July 19, 2022

To cut down on time reviewing specific linked tickets I've added a custom field named "project summary". I am trying to have the custom [project summary] field update on any of the specific linked tickets with the first label, today's date and the update made to the custom [project summary] field. I am able to pull the information. However, it is not appearing in the order needed.

 

Here's the value I am having added:

{{triggerissue.labels.first}} {{now.shortdate}} | {{triggerissue.project summary}}

 

Test steps:

  1. Add "test1" in custom Project Summary field to ticket with AAA as first label
  2. Add "test2" in custom Project Summary field to ticket with BBB as first label
  3. Add "test3" in custom Project Summary field to ticket with AAA as first label

 

Current update to linked tickets:

AAA 7/20/22 | BBB 7/20/22 | AAA 7/20/22 test1

test2

test3

 

Update needed on linked tickets:

AAA 7/20/22 | test1

BBB 7/20/22 | test2

AAA 7/20/22 | test3

 

Thank you, any help is greatly appreciated!

 

1 answer

0 votes
Heather Ronnebeck
Community Champion
July 19, 2022

Hi @Renee Tibedeau 

Welcome to the Community. 

I'm not entirely sure if the complexity here is something that automation can handle itself within a single automation statement. However, you can try looking at Scriptrunner. There are scripting capabilities there that could do this easily enough for you. 

If you want to continue down the automation route, you could try adding a type of trigger that would check to see if there are additional linked tickets, then run the steps again to add the linked ticket as you've outlined above. Then when there are no more linked issues you can basically end the automation. Be sure to include into your code a hard break command to enter the data onto a new line. 

I'm still expanding my own knowledge on the more advanced abilities of automation, but maybe someone else can expand more on how to do what I'm describing if it makes sense. 

Best of luck.

Renee Tibedeau July 20, 2022

Thank you. I did some searching for a hard break command in Jira. I tried several // \\ </br> <br> and none are working. Do you know how Jira will accept a hard break command?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events