You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Portal UI currently lacks the functionality to automatically set the 'ApprovedBy' field for custom approval tasks. There's also a need to allow users to add a custom description to their approval action in a 'comment' field. The following changes are required to enhance the approval process:
Automatically Set 'ApprovedBy' Field: The Portal UI should be enhanced to automatically grab the user's information from the token at the time of task approval and set this information in the 'ApprovedBy' field of the custom approval task.
Custom Comment Field: Provide an option for users to input a custom description for their approval action. This input should be captured in a 'comment' field associated with the approval task.
Acceptance Criteria
The 'ApprovedBy' field is automatically populated with the username who approved the task, extracting this information from the user's token.
A 'comment' field is available for users to input a custom description of their approval action.
The Portal UI correctly displays and saves the 'ApprovedBy' information and the custom comment without errors.
Ensure compatibility with existing task approval workflows.
Implementation Plan
Update the Portal UI to capture and process user token information to autofill the 'ApprovedBy' field during approval actions.
Implement a text input field for custom comments in the approval section of the UI.
Test the new functionality with various user tokens and comments to ensure reliability and compatibility.
Deploy changes to the staging environment for further testing.
Upon successful testing, deploy the update to the production environment.
spec:
action: Approved
approve:
approvedBy: sergiy_kulanov@epam.com
comment: No objections
description: Promote versions to the next Environment?
The Portal UI currently lacks the functionality to automatically set the 'ApprovedBy' field for custom approval tasks. There's also a need to allow users to add a custom description to their approval action in a 'comment' field. The following changes are required to enhance the approval process:
Automatically Set 'ApprovedBy' Field: The Portal UI should be enhanced to automatically grab the user's information from the token at the time of task approval and set this information in the 'ApprovedBy' field of the custom approval task.
Custom Comment Field: Provide an option for users to input a custom description for their approval action. This input should be captured in a 'comment' field associated with the approval task.
Acceptance Criteria
The 'ApprovedBy' field is automatically populated with the username who approved the task, extracting this information from the user's token.
A 'comment' field is available for users to input a custom description of their approval action.
The Portal UI correctly displays and saves the 'ApprovedBy' information and the custom comment without errors.
Ensure compatibility with existing task approval workflows.
Implementation Plan
spec:
action: Approved
approve:
approvedBy: sergiy_kulanov@epam.com
comment: No objections
description: Promote versions to the next Environment?
Related change in custom task https://github.com/KubeRocketCI/tekton-custom-task/pull/17/files
The text was updated successfully, but these errors were encountered: