mojira-discord-bot
mojira-discord-bot copied to clipboard
Implement user verification process
The Problem
There currently is no way to link a user's Discord account to their Mojira account. In some cases it's not obvious who which account belongs to, so a verification process for linking accounts between Discord and Mojira might be useful.
Possible Solution
Add a !verification <Mojira username>
command. When it is run, MojiraBot replies with a message like To link your Discord account to your Mojira account "username", leave a comment on WEB-1234 with your Discord user ID (<user id>).
MojiraBot also regularily checks that ticket WEB-1234 for newly incoming comments and checks them against the known Discord accounts. It then keeps all the linkings in a data base which can then be used to look up who which account belongs to, for example with !jira who @<discord account>
or !jira who <jira account>
.
Additionally, it might be nice to give verified users a special role.
Discussion needed, I'm not sure if this is really something that we want or need.