Project

General

Profile

Actions

Bug #28333

closed

GET /api/job_templates/:id returns `audit_comment: null`

Added by Evgeni Golov almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman
Target version:
-
Difficulty:
Triaged:
No

Description

our templates (lol) for job_templates contain a reference to the audit_comment, but there is no such field in the model, so the api response always contains "audit_comment: null"

I think this field should be write only (when you create/update) a template, as it gets stored in the audits, not in the templates itself.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #28332: GET /api/provisioning_templates/:id returns `audit_comment: null`ClosedEvgeni GolovActions
Actions

Also available in: Atom PDF