A GitHub action that automatically generates issue numbers for user stories
A GitHub appication with the correct permissions will be needed. During the action, another action is used to generate a token, this will require the application ID and the application key.
- Read Access: Organisation secrets
- Read + Write Access: Issues, organisation variables, and pull requests
- A variable to track and increment the current issue number.
- Issue Prefix: The action receives an issue prefix as an input.
- Retrieve Current Issue Number: It retrieves the current issue number from the organisation variable.
- Generate Story Number: The current issue number is incremented during the script to avoid conflicts as much as possible. The incremented number is then concatenated with the prefix to form the story number.
- Update Organisation Variable: The incremented issue number is saved back to the organisation variable.
- Modify Issue Title: The issue title is updated so that the generated story number prefixes the original story title.
Note: Any issues made in this repository will use the action in the
develop
branch for testing (there will no longer be extreme panic when the action fails and stops working across the organisation (hopefully))