NetBox plugin to display Jira issues and Confluence pages related to devices
Project description
NetBox Atlassian Plugin
Display Jira issues and Confluence pages related to devices in NetBox.
Features
- Device Tab - Shows Jira issues and Confluence pages mentioning device attributes
- VM Tab - Same functionality for Virtual Machines
- Configurable Search Fields - Search by hostname, serial, asset tag, role, IP, etc.
- OR Search Logic - Finds content matching any configured field
- On-Premise Support - Works with Jira Server/Data Center and Confluence Server/Data Center
- Cloud Ready - Prepared for Atlassian Cloud (future release)
- Caching - Results cached to reduce API calls
- Project/Space Filtering - Limit searches to specific Jira projects or Confluence spaces
Requirements
- NetBox 4.0+
- Python 3.10+
- Access to Jira and/or Confluence REST APIs
Installation
pip install netbox-atlassian
Add to configuration.py:
PLUGINS = [
"netbox_atlassian",
]
Configuration
PLUGINS_CONFIG = {
"netbox_atlassian": {
# Jira settings (on-prem)
"jira_url": "https://jira.example.com",
"jira_username": "api_user",
"jira_password": "api_token_or_password",
"jira_verify_ssl": True,
"jira_projects": [], # Empty = all projects
# Confluence settings (on-prem)
"confluence_url": "https://confluence.example.com",
"confluence_username": "api_user",
"confluence_password": "api_token_or_password",
"confluence_verify_ssl": True,
"confluence_spaces": [], # Empty = all spaces
# Search configuration
"search_fields": [
{"name": "Hostname", "attribute": "name", "enabled": True},
{"name": "Serial", "attribute": "serial", "enabled": True},
{"name": "Asset Tag", "attribute": "asset_tag", "enabled": False},
{"name": "Role", "attribute": "role.name", "enabled": False},
{"name": "Primary IP", "attribute": "primary_ip4.address", "enabled": False},
],
# Results limits
"jira_max_results": 10,
"confluence_max_results": 10,
# General
"timeout": 30,
"cache_timeout": 300,
"device_types": [], # Filter by manufacturer (empty = all)
}
}
Search Fields
The search_fields configuration defines which device attributes are searched. Searches use OR logic - content matching any enabled field will be returned.
| Field | Attribute Path | Description |
|---|---|---|
| Hostname | name |
Device name |
| Serial | serial |
Serial number |
| Asset Tag | asset_tag |
Asset tag |
| Role | role.name |
Device role name |
| Primary IP | primary_ip4.address |
Primary IPv4 address |
| Site | site.name |
Site name |
| Tenant | tenant.name |
Tenant name |
Custom Fields
You can search custom fields using dot notation:
{"name": "CMDB ID", "attribute": "custom_field_data.cmdb_id", "enabled": True}
Screenshots
Device Tab
Shows Jira issues and Confluence pages in a split view:
- Left: Jira issues with key, summary, status, and type
- Right: Confluence pages with title, space, and breadcrumb
Settings Page
View current configuration and test connections to Jira/Confluence.
API Endpoints
The plugin adds these endpoints:
| Endpoint | Method | Description |
|---|---|---|
/plugins/atlassian/settings/ |
GET | View settings |
/plugins/atlassian/test-jira/ |
POST | Test Jira connection |
/plugins/atlassian/test-confluence/ |
POST | Test Confluence connection |
Troubleshooting
Connection Errors
- Verify URLs are correct and accessible from NetBox server
- Check username/password or API token
- For on-prem, ensure
verify_sslmatches your certificate setup - Check firewall rules allow outbound HTTPS
No Results
- Verify search fields are enabled in configuration
- Check that Jira/Confluence content contains the device attributes
- Review project/space filters if configured
- Check API user has read permissions
Slow Performance
- Increase
cache_timeoutto reduce API calls - Reduce
max_resultsvalues - Use project/space filters to limit search scope
Development
git clone https://github.com/sieteunoseis/netbox-atlassian.git
cd netbox-atlassian
pip install -e ".[dev]"
# Run linting
black netbox_atlassian/
isort netbox_atlassian/
flake8 netbox_atlassian/
License
Apache 2.0
Author
sieteunoseis
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file netbox_atlassian-0.1.0.tar.gz.
File metadata
- Download URL: netbox_atlassian-0.1.0.tar.gz
- Upload date:
- Size: 15.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a517756ac45ffd1cfe1853420ebe4976f4e43e6ee294c7a8061571549ebcdeb5
|
|
| MD5 |
1ab69d697cee3b804cf381d810dbafa9
|
|
| BLAKE2b-256 |
4aba721f979710b353efa927f0ca00c6e64f8c0bbde028de2a1cf53e075a8b2c
|
Provenance
The following attestation bundles were made for netbox_atlassian-0.1.0.tar.gz:
Publisher:
release.yml on sieteunoseis/netbox-atlassian
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
netbox_atlassian-0.1.0.tar.gz -
Subject digest:
a517756ac45ffd1cfe1853420ebe4976f4e43e6ee294c7a8061571549ebcdeb5 - Sigstore transparency entry: 908806198
- Sigstore integration time:
-
Permalink:
sieteunoseis/netbox-atlassian@35f8472d3c18077b94b8ee76e2f62ecf627bff0d -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/sieteunoseis
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@35f8472d3c18077b94b8ee76e2f62ecf627bff0d -
Trigger Event:
push
-
Statement type:
File details
Details for the file netbox_atlassian-0.1.0-py3-none-any.whl.
File metadata
- Download URL: netbox_atlassian-0.1.0-py3-none-any.whl
- Upload date:
- Size: 17.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04dd5629b78ab546567c8744889bbe6e6de8a0f548ef8a3f4eae7aeaa9817cc2
|
|
| MD5 |
df105551bbcd40477a815bd23cdeaba0
|
|
| BLAKE2b-256 |
f1369912615074bf6f8d843b54f091657220f92b6258a285f1f81d8bedb53b9a
|
Provenance
The following attestation bundles were made for netbox_atlassian-0.1.0-py3-none-any.whl:
Publisher:
release.yml on sieteunoseis/netbox-atlassian
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
netbox_atlassian-0.1.0-py3-none-any.whl -
Subject digest:
04dd5629b78ab546567c8744889bbe6e6de8a0f548ef8a3f4eae7aeaa9817cc2 - Sigstore transparency entry: 908806199
- Sigstore integration time:
-
Permalink:
sieteunoseis/netbox-atlassian@35f8472d3c18077b94b8ee76e2f62ecf627bff0d -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/sieteunoseis
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@35f8472d3c18077b94b8ee76e2f62ecf627bff0d -
Trigger Event:
push
-
Statement type: