Show each Script's last run and its status in the Scripts list

Open
#206 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
50/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
backend, frontend

Research direction

The payload names no files, so start from the Scripts list view and its table and grouped-view definitions in the plugin, then check how the NetBox Jobs tab lists a script's runs. Add Last Run and Status columns that show the most recent completed run the user may view, with a link to its result. Done means both views display start time, status and link, and a permission-restricted user sees only runs they can view.

Written by the indexing model from the issue text.

Description

app: scripts Bucket: Improve complexity: medium status: backlog type: feature
Plugin Version

v0.1.0

Proposed functionality

Add Last Run and Status columns to both the table and grouped views of the Scripts list.

Show the start time and status of each Script's most recent completed run that the user has permission to view, with a link to its result.

Use case

NetBox's built-in Scripts list shows when each Script last ran and whether it succeeded or failed. After migrating to the plugin, users need to open each Script's Jobs tab to find this information.

Providing the same information in the Scripts list would make it easier to monitor Script execution and identify failed runs at a glance.

External dependencies

None.

Dominant language
Python
Stars
9
Forks
0
Avg merge
18h 59m
Merged PRs (30d)
93

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from netbox-community/netbox-scripts

All issues in netbox-community/netbox-scripts

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.