Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for custom fields on JobResult #599

Closed
glennmatthews opened this issue Jun 21, 2021 · 3 comments
Closed

Support for custom fields on JobResult #599

glennmatthews opened this issue Jun 21, 2021 · 3 comments
Assignees
Labels
type: feature Introduction of new or enhanced functionality to the application

Comments

@glennmatthews
Copy link
Contributor

User Story

As Austin the Network Automation Engineer,

I want to be able to store additional data in my JobResult records,

So that other Jobs can build atop this data to provide features like reporting/summarizing previous Jobs, rolling back changes implemented by a previous Job, etc.

I will know this is done when I can define custom fields for the JobResult model and populate these fields from within a running Job.

Database Changes (Optional)

Yes - addition of custom field data field to JobResult.

External Dependencies (Optional)

None.

@glennmatthews glennmatthews added status: under review type: feature Introduction of new or enhanced functionality to the application labels Jun 21, 2021
@carbonarok
Copy link
Contributor

@glennmatthews do the custom fields need to be displayed on the job page?

@glennmatthews
Copy link
Contributor Author

Not on the Job pages (since these would be on individual JobResults, not the Jobs) but absolutely on the JobResult detail view (i.e. /extras/job-results/<uuid>/) just as with any other detail view of any other model supporting CustomFields.

carbonarok added a commit that referenced this issue Jul 2, 2021
* Enabled custom fields

* Added custom fields to job results page.

* Black.

* Added plugin left/right page.
jathanism added a commit that referenced this issue Jul 7, 2021
@glennmatthews
Copy link
Contributor Author

Resolved by #636

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: feature Introduction of new or enhanced functionality to the application
Projects
None yet
Development

No branches or pull requests

2 participants