Forums

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

Scheduling Requirement

srinivasp
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 Leaders.
December 15, 2011

Hi, I am a new atlassian SDK user and i recently configured SDK in to my local eclipse. I was given with a task like Managing Users.

We have LDAP integrated with JIRA and there are some users already created in specific group of JIRA. Now the requirement is to have a batch job to be scheduled to run once every day to check the users in both LDAP and in JIRA. If any new user is added in LDAP to some specific group, then the batch job should automatically create the user in required JIRA group to provide access to some applications of JIRA.

Could any one suggest the approach to develop this plugin and the procedure to hook up to our company JIRA?

Thanks in Advance!

3 answers

1 accepted

0 votes
Answer accepted
srinivasp
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 Leaders.
February 7, 2012

I created a service which has the logic to sync the ldap and jira and hooked it to JIRA. The service was configured to execute on regular intervals. So when new employ joins the company, his would be automatically given access to jira by adding him to jirausers group by the service. This service which runs everyday will sync the new user with jira. Also if a user is moved to deactive group in ldap, the same service will move the user from Jirausers group to deactivated group of jira.

Joe Clark
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 12, 2012

Nice job getting this working!

0 votes
Joe Clark
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 20, 2011

You shouldn't need to write a plugin to do this. JIRA's LDAP integration should be able to sync group memberships by default.

srinivasp
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 Leaders.
December 20, 2011

Hi Joseph, Thanks for your reply.

Our existing JIRA configuration wont allow ldap sync up with JIRA because we dont want all the users groups of LDAP to get access to JIRA. So we are manually adding the users to JIRA when a new user is added to our required group. Since it is integrated with LDAP, authentication is doing against it. Now we want to automate this process by adding specific group members in LDAP to jira-users group. Kindly suggest a solution for this.

srinivasp
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 Leaders.
December 20, 2011

Hi Joseph,

Is there a way to sync only specific group of LDAP to jira-user group?

Joe Clark
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 27, 2011

I'm not sure, sorry :-(

0 votes
srinivasp
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 Leaders.
December 19, 2011

Hi Guys, Appreciate if some one could suggest a solution?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events