We have a field called "Incident Owner" that we want to pre-populate with the current user's name on the create screen.
We have Adaptivist's Behaviours plug-in, but I'm having difficulty putting together an Initialiser that works.
Any help would be much appreciated!
Please try this and let me know if it works.
def incidentOwner = getFieldById("customfield_12345")
def currentUserObj = ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser()
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event