Forums

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

How to get current login user in JIRA by Script Runner?

Hisamitsu Koga
Contributor
August 17, 2016

I want to get current login user in JIRA by Script Runner. Please provide me with the exact code

to get current log in user in JIRA.

1 answer

1 accepted

1 vote
Answer accepted
Tiago Comasseto
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.
November 21, 2013

Hi Dario, the Domain Users group is an special group in AD, it's called primery group. By default all users in AD are members of this group, but its membership association is different than the other groups, this group doesn't have the attribute MemberOf.

Currently JIRA doesn't support primery groups, but there's already an improvement request to implement this ability: https://jira.atlassian.com/browse/JRA-29187

As a workaround, you may associate the user your want to see in JIRA with another LDAP group or set up the User Directory so that it uses the Default Group Membership functionality.

I hope it helps

Suggest an answer

Log in or Sign up to answer