Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,297,241
Community Members
 
Community Events
165
Community Groups

Can a custom field (A) contain smart values be passed to another Custom Field (B) and be replaced?

Edited

I have a Custom Field Text Field (multi-line) (lets call it A) which contains text and some smart value.

Then I have another Custom Field Text Field (multi-line) (lets call it B) which contains the value of Field A, but I want the Smart Values to be translated to the actual value.

 

Is this possible?

 

I attach image, here:


test_template is A

test_email_to_send is B (has an automation that whenever A changes it changes, it is defined as {{issue.test_template}}).  This works.

But 


I want the value in B to change the {{issue.Customer}} to the actual value of Customer.Captura de pantalla 2022-06-17 a las 15.23.05.png

1 answer

0 votes

@Ricardo Martinez -

I believe you can use Automation for Jira and establish a rule using smart valule to conduct what you want to do.  Here are the documentations links for Automation for Jira -

https://support.atlassian.com/cloud-automation/docs/jira-cloud-automation/

https://support.atlassian.com/cloud-automation/docs/what-are-smart-values/

https://support.atlassian.com/cloud-automation/docs/smart-values-in-jira-automation/

The rule essentially gets triggered off (i.e. Issue Created event), then execute an edit issue action where you can update your field value.

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Infrastructure Applications Team

Viasat Inc.

No, that is actually my question.

I AM using Automation already; see 
(has an automation that whenever A changes it changes, it is defined as {{issue.test_template}})

I am already using smart values, see above.

 

My question regards a field that contains text which has smart value, and it does not translate to the actual value when passed to another text.

@Ricardo Martinez -

Can you provide your automation rule setup (especially the Action configuration)?  So, we can review your setup to see what is not working?

Best, Joseph

Sure, here it is.

Whenever test_template changes (A) the value is set to test_email_to_send (B)
But the smart Values are not translated.

Im looking for a way to translate theseCaptura de pantalla 2022-06-22 a las 9.35.40.png

@Ricardo Martinez -

Can you try to add this action - "Log action" before your Edit Issue fields action.  This is useful to debug your rule and smart value's value.  By doing so, you see if the value is properly captured for prior to your field B update.

Here is the link on how to debug an automation rule -

https://support.atlassian.com/cloud-automation/docs/debug-an-automation-rule/

Your rule seems to be valid and correct.

Let me of your findings.

Best, Joseph

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
Community showcase
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

342 views 0 10
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you