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?
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 ?
Thanks
V.Y
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="">
!data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANsAAABuCAIAAAAh5vHRAAAAAXNSR0IArs4c6QAAAARnQU1BAACx
jwv8YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAADO7SURBVHhe7Z0HYJXV2fjvvRlkMGVvRCFRnHVb
/621tdpWv27rKCqO2n72q1ZRy1AEgoyQPW8mSSCAIBuRIZswE5IAYe+dhBCy7/7/nnNCGuMoNTeW
0Pv6cH3ve8857znP+Z3nec55z70xuDyHmw6n01l/5jmacQiRZz7/PGfkyG2jR3vkymXL6NFbkVGj
NowfV7J3v9bmyaVLN44axfUdX0rvkW8WCIRDdChEbn777UkGQ6RHrliiDIYwgyFCyTiDYffcecKj
07HhtddC1Eexl5MhjTN65OsEAuGwnsitI0ei2XiPXLEkGIyxBmOcUc6ndOhQtGCxEOmw5/z971MV
jkkGY7zBRLKEL+X1yFcKBMKhh8hvKVdGpJeHyCsXD5HNEg+RbhcPkc0SD5FuFw+RzRIPkW4XD5HN
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.