Forums

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

what are the steps for migration from JSM data center to JSM cloud?

vivek jira admin
May 20, 2023

what are the steps for migration from JSM data center to JSM cloud?

1 answer

1 accepted

1 vote
Answer accepted
Mark Markov
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.
June 28, 2018

Hello @Patrick S

The problem here, that you dont catch event, you re just creaate User event object here.

Code must be like this

import com.atlassian.jira.user.ApplicationUser
import com.atlassian.jira.event.AbstractEvent
import com.atlassian.jira.event.user.UserEvent


def newUserEvent = event as UserEvent;
def appUser = newUserEvent.getUser();
int userEventType = newUserEvent.getEventType();
Patrick S
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.
June 29, 2018

@Mark Markov - Perfect, thanks!  I knew I was overlooking something fundamental.

Like Richard J Trawinski Jr likes this
Mark Markov
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.
June 29, 2018

You are welcome :)

Like Richard J Trawinski Jr likes this

Suggest an answer

Log in or Sign up to answer