Scheduling Requirement

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

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.

Joseph Clark Atlassian Team Feb 12, 2012

Nice job getting this working!

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

0 vote
Joseph Clark Atlassian Team Dec 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.

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.

Hi Joseph,

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

Joseph Clark Atlassian Team Dec 27, 2011

I'm not sure, sorry :-(

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

77 views 0 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you