The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Bugzilla import disabled users bug?

D G
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 23, 2013

When importing from Bugzilla using the JIRA Importers Plugin version 5.0.4, disabled user are imported into a group called bugzilla-import-disabled-users, but the accounts are still marked Active. In some cases they are also added to some default groups like jira-developers and jira-users. Is there a solution for this problem?

We're using Atlassian JIRA (v5.2.4.1#846-sha1:7ae4d02)

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Dmitry Miroshnichenko
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.
September 24, 2014

try this to select all cwd_membership entries and then delete them(did this on JIRA 5.0.4, it's safe, but test it before). Also you should restart JIRA and reindex(don't remeber if there is need in reindex). 

select * from cwd_membership cwm inner join cwd_user cwu on cwm.child_id = cwu.id
where cwu.id in (select cwu1.id from cwd_membership cwm1 inner join 
cwd_user cwu1 on cwm1.child_id = cwu1.id and cwm1.parent_name in ('bugzilla-import-disabled-users', 'bugzilla-import-unused-users'))

JIRA counts licence user limit using jira-users group - so it's a workaround