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
Community Members
Community Events
Community Groups

copy request summary if description is empty

I need to copy the summary value if the description is empty, I'm using the Scriptrunner post function for Copy field values ​​but conditional on the description being empty and I can't get it.

What value should I add to the condition?


1 answer

1 accepted

2 votes
Answer accepted
Vikrant Yadav Community Leader Sep 08, 2022

Hi @Oswaldo Peña Perilla  Apply Condition in Post function :- 

If Description is null, Summary copied to Desc

If description is not null , no action performed

issue.description == null

Are you applying post function on create issue transition ? 



Hi Vikrant, 

Are you applying post function on create issue transition ? 

Yes, I will apply it in the creation of the requests, I will implement it because the mail handler that contains the #renderDescription($!issue) context and when there is no description it generates garbage like this

96 Empty Template
EXTERNAL EMAIL: Do not click links or open attachments unless you recognize the sender and know the content is safe.

<="" a="">



Suggest an answer

Log in or Sign up to answer

Atlassian Community Events