Forums

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

How to update the Summary field by appending text using automation on jira cloud

Katherine AT
Contributor
November 1, 2018

I am trying to write an automation whereby the Summary field gets updated upon the change of another field.  I have it working except the part of what I save back into the summary field

So for example, if Summary started out as "this is my title"  I want to amend it by appending some text at the end so it is now "this is my title now"

So how do I code the update to be {SUMMARY} + " now"  ?

3 answers

1 accepted

4 votes
Answer accepted
Angélica Luz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 9, 2018

Hi Katherine,

I've tested here the Automation Lite for Jira Cloud and I was able to update the summary field to append more text.
I created the automation for when an issue is created to update the summary:

Screenshot 2018-11-09_12-28-18.png

To append more text, you must use {{issue.summary}} that will keep the current summary and then add the text you need.

I used the Automation Lite that is a free app, but it only runs 300 automation per month, but they have another version where is not limited: Automation for Jira

Hope this helps!

Regards,
Angélica

Justin Hall
Contributor
June 17, 2019

What about if the summary of the parent subsequently is changed. How can I make it so that them subtasks automatically recognizes the change and reupdates the Summarys of the Subtask?

Angélica Luz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 19, 2019

Hi Justin,

I tested here but didn't find a way to update the subtasks with the summary of the parent issue. There are some options that should match, but it didn't change anything on the ticket.
As they have a free version, you can create automation to test and check if it will match with your use case.
Please, check their documentation that shows the available values to update.
- https://docs.automationforjira.com/working-with-issue-dataavailable-values.html#available-smart-values

Regards,
Angélica

Justin Hall
Contributor
August 28, 2019

Hi Angélica,

I was able to figure this out by making the trigger to recognize when the Summary field changes its value, change the subtasks to be: {{triggerissue.summary}} | "custom text".

 

Works beautifully. Thanks!

Like # people like this
Victor Sanchez December 6, 2019

I know this is a little old but Im trying to do this as well. However, my company will not allow to install any 3rd party Jira cloud apps. Can this be done with the built in Jira automation? 

Katherine AT
Contributor
December 8, 2019

Hi @Victor Sanchez  you could argue that it is not a 3rd party as the developing company is also an Atlassian company and the app is supported.  You will need the app to perform automations

Capture.PNG

Angélica Luz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 9, 2019

Hello @Victor Sanchez,

Welcome to Community!

The option to append some text with the original summary is not available on the built-in automation on Service Desk, that's why it's necessary to use the add-on.

As Katherine mentioned, Atlassian owns Code Barrel now (it was not an Atlassian company when it was answered last year), but it just means that we will give support to the add-on, previously for any issue, Code Barrel should be contacted, that's the difference.

Regards,
Angélica

Like Consulente Atlassian likes this
0 votes
Daniel Vest
Contributor
December 10, 2024

@Katherine AT I know this is an older question with an accepted answer, but putting this thought out there on how to accomplish this without an add-in. This can be easily accomplished by creating a variable which will have the existing Summary, then the next step in the automation, edit the Summary, adding the the new variable smart value and whatever else is needed. In my example, I needed to add in the value of whatever the reporter chose in a custom field.edit summary with var.png

0 votes
Antidote Production
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 17, 2021

Hi,

I'm trying to achieve the same outcome - updating the summary with text from other fields in the ticket, as the ticket is created - or modified.

When I click on the link to "Automation Lite for Jira Cloud" it takes me to a dead link.

I can't seem to find the cloud version of this add on..? Am I missing something?

 

Annotation 2021-01-18 112138.jpg

Katherine AT
Contributor
January 17, 2021

Atlassian have since bought this and integrated it into the Cloud version - if you click on your JIRA settings/Administration, there should be an 'Automation' option in there

Like # people like this
Antidote Production
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 24, 2021

Thanks. I found it AND have managed to get it to do my bidding!

Like # people like this

Suggest an answer

Log in or Sign up to answer