The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

UserMessageUtil.warning() is not working for issue clone

Dan27
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
October 21, 2020

Hello,

I need to create a warning message while issue clone.
I created post function in workflow 'create' and used this script:


def request = ActionContext.getRequest()
if (request)

{ log.warn "The issue created manually"

return }

//clone issue
else

{ log.warn "The issue came from a clone action"

UserMessageUtil.warning("TEXT"); }

 

I got the logs, but the message didn't display.
I tried it with listener 'Issue Created' event too, without success.

How can I create a warning message while issue clone?

Thanks,
Daniel

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
ss
Contributor
January 23, 2021

Hi Dan,

 

I am having similar problem. Was your issue resolved and how? if you can share some info.