#11232 Bugzilla account for fedora-review-service
Closed: Fixed with Explanation 2 years ago by kevin. Opened 2 years ago by frostyx.

Describe what you would like us to do:

I am not sure if this is the correct place to ask. If not, my apologies for the noise.

For a couple of months now, the fedora-review-service
https://github.com/FrostyX/fedora-review-service
is submitting Bugzilla comments under my name, using my personal API key.

Is it possible, and if so, can you please create some kind of Bugzilla service account and generate an API key that I could use?

Currently, my .bugzillarc config looks like this:

[bugzilla.redhat.com]
api_key = 123secretrandomhash456andsuch

so the ideal solution for me would be a key, that I can use here.

When do you need this to be done by? (YYYY/MM/DD)

At your convenience


So, the api key will need renewing from time to time. It's best if you can self service this IMHO.

So, I'd suggest:

Sound reasonable? anything I missed? Does the bot need any special perms?

Sounds very reasonable, thank you @kevin :-)

I create a fedora-review-bot@fedoraproject.org alias that points to your email?

jkadlcik at redhat please

Sound reasonable? anything I missed? Does the bot need any special perms?

It needs to submit comments, upload attachments, and modify ticket's ... uhm ... properties?. On the other hand, it can be restricted only to bugs with Product: Fedora, Component: Package Review.

Metadata Update from @phsmoura:
- Issue priority set to: Waiting on Assignee (was: Needs Review)
- Issue tagged with: low-gain, low-trouble, ops

2 years ago

ok, the alias should be live.

If you need any permissions, re-open this or file a new ticket and we can get it sorted. ;)

Metadata Update from @kevin:
- Issue close_status updated to: Fixed with Explanation
- Issue status updated to: Closed (was: Open)

2 years ago

Thank you very much @kevin,
everything worked as expected, I was able to create the Bugzilla account and generate an API key. I haven't tested the key yet but I am sure, it will be alright.

@kevin, I found out that the bot account doesn't have permissions to edit a ticket URL, Whiteboard, and so on. Did I forget to add permissions somewhere or do you need to boost them for me?

@kevin, I found out that the bot account doesn't have permissions to edit a ticket URL, Whiteboard, and so on

For both production and STG Bugzilla accounts

I've added the fedora-review-bot user to fedorabugs/fedora_contrib.

Whats the staging user? and which staging bugzilla? I might not have privs there, but can try.

Whats the staging user? and which staging bugzilla?

At this Bugzilla - https://bugzilla.stage.redhat.com/
It has the same email address and same real name as the production one.

Perfect, it works now. Thank you :-)

Log in to comment on this ticket.

Metadata
Boards 1
ops Status: Backlog