Support Validation of Jira Ticket Status
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Proposal
When committing to Gitlab today, we can enforce that a Jira ticket number exists; however, we do not have a way to check whether the ticket's status is correct. Hypothetically, a user could commit to a ticket that is already closed or in an open status and not actively being worked on.
The proposal for a new feature is to add validation into the Jira API that would enforce commits happen on tickets that are "In-progress" or "Awaiting Fix". Ideally, the customer should be able to identify the ticket status within Jira to validate against.
My use case, in particular, is for the "In Progress" and "Awaiting Fix" statues. This will ensure that committed changes are only allowed when the ticket is meant to be worked on. These statuses give us an extra layer of auditing to ensure development teams are working on what is in fight, in addition to having a ticket with every commit.