Bugzilla import disabled users bug?

D G 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

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 Leaders.
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

Suggest an answer

Log in or Sign up to answer