Discussion:
Create bug for multiple user groupwise for particular product
Harsh Singh2
2018-08-30 10:30:24 UTC
Permalink
Hi,
I am using Bugzilla API.

I am created a multiple user for particular group and group is mandatory for a product. So when i assign a bug to that group it will automatically show to all related user or assign a bug to all the user(CC) of that group. Please help.

Thanks & Regards,
Harsh Singh
Thorsten Schöning
2018-08-30 11:05:47 UTC
Permalink
Guten Tag Harsh Singh2,
Post by Harsh Singh2
I am created a multiple user for particular group and group is
mandatory for a product. So when i assign a bug to that group it
will automatically show to all related user or assign a bug to all
the user(CC) of that group. Please help.
Please be so kind and rephrase your question, because I simply don't
understand what your use case and problem is and what you are actually
asking about.

In general, assigning one bug to multiple users is not possible. One
bug has one assignee and optionally multiple CCs, but not multiple
assigniees. If you really need multiple assignees, you need to create
special users using some mailing list address as for their mail, which
forwards all mails sent to that special user to all members of the
list.

Mit freundlichen Grüßen,

Thorsten Schöning
--
Thorsten Schöning E-Mail: ***@AM-SoFT.de
AM-SoFT IT-Systeme http://www.AM-SoFT.de/

Telefon...........05151- 9468- 55
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
Harsh Singh2
2018-08-30 11:32:03 UTC
Permalink
Thanks.
I trying to clear my phrase.

I am create a product : HCL Computer
Create a group with same name : HCL Computer , give access "Edit Group Access Controls" Mandatory.
Now I create 2 user like ***@abc.com , ***@xyz.com and link these user to HCL Computer group.
Now I have to do, when I am going to create a bug for HCL Computer it will automatically assign to both user and sent a notification mail to them.
Through bugzilla API




-----Original Message-----
From: support-bugzilla [mailto:support-bugzilla-***@lists.mozilla.org] On Behalf Of Thorsten Schöning
Sent: 30 August 2018 04:36
To: support-***@lists.mozilla.org
Subject: Re: Create bug for multiple user groupwise for particular product

Guten Tag Harsh Singh2,
Post by Harsh Singh2
I am created a multiple user for particular group and group is
mandatory for a product. So when i assign a bug to that group it will
automatically show to all related user or assign a bug to all the
user(CC) of that group. Please help.
Please be so kind and rephrase your question, because I simply don't understand what your use case and problem is and what you are actually asking about.

In general, assigning one bug to multiple users is not possible. One bug has one assignee and optionally multiple CCs, but not multiple assigniees. If you really need multiple assignees, you need to create special users using some mailing list address as for their mail, which forwards all mails sent to that special user to all members of the list.

Mit freundlichen Grüßen,

Thorsten Schöning
--
Thorsten Schöning E-Mail: ***@AM-SoFT.de
AM-SoFT IT-Systeme http://www.AM-SoFT.de/

Telefon...........05151- 9468- 55
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow

_______________________________________________
support-bugzilla mailing list
support-***@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put support-***@lists.mozilla.org in the To: field when you reply.
Thorsten Schöning
2018-08-30 11:44:33 UTC
Permalink
Guten Tag Harsh Singh2,
Post by Harsh Singh2
Now I have to do, when I am going to create a bug for HCL Computer
it will automatically assign to both user and sent a notification mail to them.
As said before, assigning to both different users the same time is not
Post by Harsh Singh2
assigned_to string The full login name of the user this bug is assigned to.
https://bugzilla.readthedocs.io/en/5.0/api/core/v1/bug.html#update-bug

You need to choose one user as assignee and put the others as CC. If
your question is about how to iterate users of a group, use the
following:

https://bugzilla.readthedocs.io/en/5.0/api/core/v1/group.html#get-group

Mit freundlichen Grüßen,

Thorsten Schöning
--
Thorsten Schöning E-Mail: ***@AM-SoFT.de
AM-SoFT IT-Systeme http://www.AM-SoFT.de/

Telefon...........05151- 9468- 55
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
Thorsten Schöning
2018-08-30 13:12:58 UTC
Permalink
Guten Tag Harsh Singh2,
Thanks,
Private Emails Do Not Help Others
https://www.bugzilla.org/support/
If I am creating a bug and add group in that, then the member of
group will get an email that bug is assign to this group.
Is there any way to sent mail to all the user of group
Sending mails manually to individual users "just because" is not
possible AFAIK and doesn't make much sense. Mails rely on a reason why
they have been send, e.g. because someone is assignee, CC or globalwatcher
or whatever. So you either need to think of giving all the other users
some purpose on the newly created bug, like getting CC, so that mails
are send automatically or you need some other way to send mails,
because Bugzilla doesn't provide such API AFAIK.

You could implement some extension providing a new webservice and in
that extension use all the mail facility of Bugzilla. But it doesn't
sound like the correct thing to do to me.

https://bugzilla.readthedocs.io/en/5.0/integrating/extensions.html
https://www.bugzilla.org/docs/4.4/en/html/api/Bugzilla/Hook.html#webservice

Mit freundlichen Grüßen,

Thorsten Schöning
--
Thorsten Schöning E-Mail: ***@AM-SoFT.de
AM-SoFT IT-Systeme http://www.AM-SoFT.de/

Telefon...........05151- 9468- 55
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
Loading...