Contact can not be assigned to Contact Role #7209

Closed
opened 2025-12-29 20:20:29 +01:00 by adam · 3 comments
Owner

Originally created by @v0tti on GitHub (Nov 9, 2022).

NetBox version

v3.3.2

Python version

3.9

Steps to Reproduce

  1. Create a new Contact Role "Foo"
  2. Create a new Contact "Bar" and try to assign it to the Contact Role "Foo"

Expected Behavior

I expect to be able to assign the Contact "Bar" to the Contact Role "Foo".

Observed Behavior

There is no field to assign a Contact to a Contact Role.
This is consistent with documentation where no assignment field for Contact Roles is mentioned, however I don't think Contact Roles can be used in any other way. In my understanding Contact Roles should behave like Contact Groups.

Originally created by @v0tti on GitHub (Nov 9, 2022). ### NetBox version v3.3.2 ### Python version 3.9 ### Steps to Reproduce 1. Create a new Contact Role "Foo" 2. Create a new Contact "Bar" and try to assign it to the Contact Role "Foo" ### Expected Behavior I expect to be able to assign the Contact "Bar" to the Contact Role "Foo". ### Observed Behavior There is no field to assign a Contact to a Contact Role. This is consistent with documentation where no assignment field for Contact Roles is mentioned, however I don't think Contact Roles can be used in any other way. In my understanding Contact Roles should behave like Contact Groups.
adam closed this issue 2025-12-29 20:20:29 +01:00
Author
Owner

@jeremystretch commented on GitHub (Nov 9, 2022):

Contacts are assigned a role when attached to an object, not individually. For example, a person might be an administrative contact for one site but a billing contact for another.

@jeremystretch commented on GitHub (Nov 9, 2022): Contacts are assigned a role when attached to an object, not individually. For example, a person might be an administrative contact for one site but a billing contact for another.
Author
Owner

@v0tti commented on GitHub (Nov 9, 2022):

Well that's not very clear from documentation than. Maybe it can be improved.
Additionally, Contact Roles have a link to "Assignments" which link to /tenancy/contacts/?role=<role>. That does not seem to be correct if I understand you correctly. Should I open another issue?

@v0tti commented on GitHub (Nov 9, 2022): Well that's not very clear from documentation than. Maybe it can be improved. Additionally, Contact Roles have a link to "Assignments" which link to `/tenancy/contacts/?role=<role>`. That does not seem to be correct if I understand you correctly. Should I open another issue?
Author
Owner

@jeremystretch commented on GitHub (Nov 9, 2022):

The link appears to be wrong, yes. You're welcome to open a separate bug report for that. Thanks!

@jeremystretch commented on GitHub (Nov 9, 2022): The link appears to be wrong, yes. You're welcome to open a separate bug report for that. Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7209