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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.