Can you use replacement variables in Automation Rules for Jira Cloud?

rneill19
Contributor
March 19, 2024

Hi!

I'm wondering if it's possible to use replacement variables when setting the summary using Automation Rules. For example, if I set up an automation rule to create a ticket during another ticket's transition is there a way to pull the value of certain fields to set the ticket summary?

Let's say I'm trying to use the following custom fields, "Customer Name" and "Release Number" so that the description reads Customer Name field value - Release Number Field Value. 

Does anyone know it's possible/how to do it? Appreciate anyone's insight here, thanks!

2 answers

2 accepted

2 votes
Answer accepted
Fernando Eugênio da Silva
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 19, 2024

Hey @rneill19 

I believe what you're looking for is Jira Smart Values. With Jira Smart Values you can define the value of some field using values from other fields in your automation rules. Please, take a look at the documentation here: Jira smart values - issues | Cloud automation Cloud | Atlassian Support

Basically what you need to do is use the smartvalue: {{issue.custom-field-name}}.

Let us know if you have some questions.

Regards,

Fernando

0 votes
Answer accepted
Dexter de Vera
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 19, 2024

You can create Jira automation:

When: Issue transitioned (base on your preferred status)

Then: Create issue - include all the field needed (make sure all fields selected are in create screen)

Then insert this in your Text field e.i Description (assuming that the field type from Trigger Issue are text and the name of the custom fields are Customer Name and Release Number):

{{triggerIssue.Customer Name}} - {{triggerIssue.Release Number}}

Suggest an answer

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

Atlassian Community Events