UserMessageUtil.warning() is not working for issue clone

Dan27 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

0 votes
ss January 23, 2021

Hi Dan,

 

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

Suggest an answer

Log in or Sign up to answer