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

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
TAGS
atlassian, loom, loom for training, loom for teaching, video training, async learning, online education, screen recording, loom tutorials, loom use cases, atlassian learning, team training tools, instructional video, virtual training tools

🛗 Elevate Your Training and Enablement with Loom

Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!

Register today
AUG Leaders

Atlassian Community Events