Forums

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

Issues with the smart value of a Description field

David Martinez Moreno
Contributor
March 30, 2023

I have a Short Text description field.3.jpg

I want to get the data of this Description Field called "Product Article Number" in the Summary. So I wrote a script that when the issue is created, it edits the summary and added a smart value to get the data from the Description Field:

2.jpg

It is not working. The summary gets updated to the word "Summary" (which I placed just for testing, it will be removed) and after that word, nothing, blank; why? If I remove the word summary I get an error that says "A summary must be entered".


Is the syntax wrong? 

 

Thanks!

D

1 answer

1 accepted

1 vote
Answer accepted
Melo
Community Champion
March 30, 2023

Hi @David Martinez Moreno,

I see two problems. The first one is easy to solve. Instead of summary use the smart value {{issue.summary}}.

The second part, "Product Article Number" if it's a text custom field the smart value {{issue.Product Article Number}} should work, but the field can't be empty when the issue is created (You're using the trigger "Issue is created").

I hope that helps.

Cheers,

Melo

David Martinez Moreno
Contributor
April 3, 2023

Thank you, that worked.

Suggest an answer

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

Atlassian Community Events