Create a component to update Jira Assets items from CI/CD
New Feature Request
Basic information
- Requester's Name: @jonathan.burroughs
Use cases
This CI component will be used to update attributes in a defined Jira Assets item using the Jira API. For example, a CI job could be triggered to update various fields such as Version, Release Notes, Approval Status, etc. based on inputs from the CI pipeline. The primary target schema would be the NCCF CMDB.
Benefits / Risks
This component would allow for automated updating of configuration item attributes as part of the CI/CD pipeline, particularly during the deploy phase. No known risks except for complexity of schema updates.
Requirements
- The feature should be able to post updates to the Jira Assets API to update attributes of a single defined configuration item, by key.
- The job will require a Jira Personal Access Token with appropriate Jira edit permissions to be provided as a project secret variable.
- The job should accept a configurable list of attributes based on the objectType schemas in Jira Assets. The specific target is for the Software Assets type in the NCCF CMDB schema.
- The job should fail if there is a failure to update the item and/or error returned from the Jira API.
- The component should be documented with use cases, input parameters and supported variables.
Links / References
See NCCFCINFR-1604