Batch adding users to the cc list for multiple components can take forever, and it’s a lot of click click click click click, which I despise.
If you want to add a user to all of the components in bugzilla, you don’t have to go through the gui. In fact, you can change just about anything in bugzilla by connecting to the database directly and modifying the tables. I find this much faster than repetitively navigating through the web front end.
I just updated 50+ components and it took me 2 minutes to do. But if I’m just updating a component or two, I wouldn’t fiddle with the database directly. It’s just not worth the hassle since you could do it in the same amount of time from the front end.
$ psql -d bugzilla
bugzilla=# select userid, login_name from profiles order by user_id;
| userid | login_name |
|---|---|
| 1 | admin@domain.com |
| 6 | fnamelname@domain.com |
| 18 | dilbert@domain.com |
| 19 | coverity@domain.com |
bugzilla=# select id, name from components order by name;
| id | name |
|---|---|
| 7 | Widget |
| 14 | Dohicky |
| 21 | Thing-a-ma-bob |
bugzilla=# insert into component_cc
select distinct 18, select distinct component_id from component_cc);
Or you can change the select to match whatever you want. Until I tried it, I didn’t know you could hold one value constant like that while selecting a distinct range like that. I thought that was pretty neat!