Agile 1.10.0
Welcome to the Agile app - created and maintained by Sascha Wildgrube.
Overview
Manage agile software projects and deployments
Features
- Manage multiple backlogs with their backlog items.
- Put all backlog items into an order based on relative priority.
- Maintain dependencies between backlog items and visualize the dependency tree.
- Maintain the correct order of backlog items while considering their dependencies at all times.
- Manage the development and deployment process as described in the whitepaper A mature Development and Deployment Process - How to sleep well when your 200 developers deploy apps every day.
- Keep track on relevant components and personas for each backlog item.
- List all "Top Level" backlog items - these are backlog items which are not required by any other backlog item. This list view is helpful to make real prioritization decisions.
Disclaimer
Agile is NOT an officially supported ServiceNow product.
Agile does NOT come with any kind of warranty. If you use it, you own it!
System Requirements
Installation
- Create an account on GitHub - if not done already.
- Create a personal access token for your GitHub account.
- Add credentials to access GitHub - use "Basic Auth".
- Fork the repository https://github.com/saschawildgrube/servicenow-devtools.
- Go to Studio and import the DevTools application from source control.
- Perform all installation steps for the DevTools application documented here: https://www.wildgrube.com/servicenow-devtools/
- Fork the repository https://github.com/saschawildgrube/servicenow-agile.
- Go to Studio and import the Agile application from source control.
- Execute installation scripts.
Run the following script as a background script in scope x_snc_agile: x_snc_devtools.InstallApp("x_snc_agile");
Configuration
- Assign groups or users the x_snc_agile.agilist role.
- Create a backlog.
- Specify the definition of ready and the definition of done.
- If applicable, specify the lead developer and the lead tester.
- Define components and associate them to the backlog.
Backlog Item States
- Draft / Need more info: The requirement description is being worked on or more information is required to implement the backlog item.
- Ready: The author of the item claims the item contains enough information to start development. A developer should be assigned to the backlog item.
- In Development: Developers work on the implementation of the backlog item in the DEV environment.
- Done / Commited to repo: Developers have completed their work and committed their changes to the source code repository - which makes the backlog item available to be part of one or more baselined application versions.
- Baselined: The team has baselined all related applications that were affected by the changes made for this backlog item - which enables the backlog item to be part of a subsequent deployment to the TEST environment.
- In Test: The changes related to the backlog item has been deployed to the TEST environemnt and a tester is asked to test the result.
- Test Failed / Showstopper / Back to development: A backlog item has failed the test and must be considered as a showstopper - so the current version on the TEST environment MUST NOT be deplyoed to the PROD environment. The backlog item is sent back to a developer who is now asked to fix issues. It is important to distinguish this state from "In Development" because the current deployment on TEST should not be deployed to the PROD environment as long as there are showstoppers. If a test failed but the issues are not considered as showstoppers, the version can be deployed to PROD and the state should be set to "In Development" which indicates that they do not represent a reason to delay deployment to PROD but still need to be worked on.
- Baselined Showstopper: A fix has been provided to resolve the showstopper. All relevant application versions have been baselined and are now ready for deployment to TEST.
- Test Passed / Ready for PROD: The test has been passed and the backlog item is ready for deployment on the PROD environment.
- Review on PROD: Deployment to PROD environment has been completed. A final check should be done before the backlog item is marked as "Completed".
- Completed: The backlog item is finally completed.
- Cancelled: The backlog item will not be implemented or worked on any further.
Deployment Process
The following deployment process - no matter if performed manually or automated - should be applied to deploy applications (components).
Baseline an Application Version
- Login to the DEV instance.
- Navigate to Studio.
- Switch to the application.
- Verify that the "dev" branch is active.
- Document all changes in the release notes section of the manual.
- Set verson in application settings.
- Run all ATF tests.
- Run (CodeSanity) Instance Scan checks.
- "Commit Changes" to the "dev" branch.
- Navigate to "Studio" / "File" / "Settings" and click on the button "Baseline Version".
- Login to the TEST instance.
- Navigate to Studio.
- Switch to the application.
- Select "Apply Remote Changes" (this is necessary to update the list of available tags).
- Select "Switch Branch" and select the corresponding version branch.
- Verify that the now current branch has changed to the just created branch.
- Navigate to "Studio" / "File" / "Settings" and execute the related link "Run Install Scripts".
- Mark backlog items associated to the application in "Done / Commited to repo" as "Baselined".
Deploy to TEST
- Login to the TEST instance.
- Navigate to Studio.
- Switch to the application.
- Select "Apply Remote Changes" (this is necessary to update the list of available tags).
- Select "Switch Branch" and select the corresponding version branch.
- Verify that the now current branch has changed to the just created branch.
- Run (CodeSanity) Instance Scan checks.
- Navigate to "Studio" / "File" / "Settings" and execute the related link "Run Install Scripts".
- Run all ATF tests.
- Mark backlog items associated to the application in "Baselined" as "In Test".
Deploy to PROD
- DO NOT PROCEED TO ROLL-FORWARD if there are backlog items "In Test" or in "Test Failed / Showstopper / Back to development" or "Baselined Showstopper"!
- Login to the PROD instance.
- Navigate to Studio.
- Switch to the application.
- Select "Apply Remote Changes" (this is necessary to update the list of available branches).
- Select "Switch Branch".
- Choose the branch name that represents the version that should be deployed.
- If in doubt, stash changes and reapply them afterwards. However it SHOULD NOT be necessary.
- Verify that the now current branch has changed to the just selected branch.
- Navigate to "Studio" / "File" / "Settings" and execute the related link "Run Install Scripts".
- Mark backlog items associated to the application in "Ready for PROD" as "Review in PROD".
Reference
Configuration Options
Roles
Tables
UI Actions
Dependencies
Technical Debts
No technical debt has been documented for this application.
License
Copyright 2022-2024 by Sascha Wildgrube
Licensed under the Apache License, Version 2.0 (the "License")
You may not use Agile except in compliance with the License.
You may obtain a copy of the License at: https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Release Notes
1.10.0 - 2024-10-01
- Vancouver is no longer actively supported.
- Agile is fully tested with Xanadu.
- Required backlog items of a backlog item are now sorted by order - in the form and in the "Dependency" view.
- The currently assigned user is now displayed in the "Work Plan" view.
- Improved display of required backlog items on the backlog item form.
- Business rule "Backlog Item - Set downstream levels" produced debug output when changing a backlog item. This has been fixed.
1.9.0 - 2024-08-01
- DevTools 1.97.0 is now required because of DocumentationAPI::RenderTables() and DocumentationAPI::RenderDependencies().
- Added menu module "All Active (Top Level)" to show all backlog items that no other item depends on. Added function GetBacklogItemDependencyLevel() and the business rules "Backlog Item - Set dependency level" and "Backlog Item - Set downstream levels".
- If no owner is specified, the user that opened the backlog item is set as the owner.
- The menu item "Baselining" now also shows items in state "Baselined Showstopper".
- AppInstall() now sets the default ordering on table "Backlog Items" to the field "Order".
- Updated the backlog item form layout for better overview. Hoping users will like it.
1.8.0 - 2024-03-31
- DevTools 1.84.0 is now required.
- Introduced the "Baselined" and "Baselined Showstopper" states.
- Added menu item "Baselining" to list all backlog items that are "Done", "Baselined" or "Baselined Showstopper".
- Added the "Continue Development" UI Action.
- Backlog items that are "hotfixed in PROD" are marked in blue.
1.7.0 - 2024-02-05
- Utah is no longer actively supported.
- Agile has been fully tested with Washington.
- The backlog item dependency view "Work Plan" tab now hides already completed backlog items and does no longer show duplicates. This turns the view into a visualization of the remaining work to be done.
- If there is no developer, tester or owner assigned to a backlog item, the "Assigned To" field is cleared when entering the corresponding states.
- Fixed a defect in GetBacklogItemDependencies() which led to false-positive warnings on circular dependencies.
- Fixed a defect in BacklogItemManageOrder() which led incorrect ordering if multiple backlog items depend on the same backlog item which also has its own dependencies.
1.6.0 - 2024-02-05
- Added function BacklogItemManageOrder() to manage backlog item order recursively considering the required backlog items (and their dependencies likewise). It is now no longer possible to set the order of a backlog item below the order of a required backlog item. Circular dependencies are detected and ignored. Dependent backlog items are also considered - so the tree of dependencies is both walked up and down.
- Added feature descriptions to the manual.
1.5.0 - 2024-01-29
- DevTools 1.80.0 is now required because of RecordManageOrder() and HtmlRenderTree().
- Added new UI Action "New Required Backlog Item".
- Added new UI Action "Dependencies" to display the dependency tree of a backlog item.
- The definition of ready is now also displayed in the "Ready" state so that the description can be compared with the definition of ready.
- The backlog items that require the current backlog item are displayed on the backlog item form.
- Refactored AppInstall() to not use .update() directly.
- AppSetDefaults() now sets the logging verbosity to "info".
- Improved manual on process states.
- Consistent use of "showstopper" instead of "show stopper".
1.4.0 - 2023-10-07
- The Agile app has been fully tested with Vancouver.
- Tokyo is no longer actively supported.
- DevTools 1.71.0 is now required.
- Added the "Low Prio" UI action to send a backlog item to the end of the backlog.
- New backlog items ALWAYS start in state "Draft". When a new backlog item was created from the state specific list views (e.g. "In Test") the new item inherited the state from the list filter. This has been fixed.
- The fields "Hotfixed in PROD" and "Order" are now read-only once the backlog item is closed.
1.3.0 - 2023-09-07
- Backlog item number and state can no longer be edited in list views.
- Backlog items can now be marked as "Hotfixed in PROD" to indicate that a hotfix is already in place in production.
- In the backlog item list view, the referenced components are no longer cut off.
- The order can now be edited in the backlog item form.
- Added the "Prio 1" UI Action to set a backlog item to the top of the backlog.
1.2.0 - 2023-06-08
- Agile is now fully tested in Utah.
- DevTools 1.63.0 is now required.
- San Diego is no longer actively supported.
- Added the "Cancel" UI action to set the state of a backlog item to "cancelled".
- Initializing the backlog's default component on new backlog item now works properly.
- The backlog item's short description is now a mandatory field.
- Added the default DevOps user to the components list view.
- Added default component and owner to the backlog list view.
- Removed display value from the backlog item form view.
- Users with the x_snc_agile.agilist role were unable to add comments, edit the short description and description and assigned_to fields. This has been fixed.
1.1.0 - 2023-03-06
- Introduced Personas: Backlog items can now be associated with Personas.
- Backlog items can now turn into "Complete" state from "Done" - for tasks that do not require production deployment - such as documentation or exploration tasks.
- New backlog items are now added to the end (with the next highest order value) by default.
- Backlog items can now specify required other backlog items.
- Backlog item's display value now shows the number, the state and the short description.
- A backlog item's component, tester, developer and owner is now set if the values are missing - so the feature now also works if there are multiple backlogs.
- All user references in backlog items, components and backlogs now filter for the x_snc_agile.agilist role.
- Components now have a description field.
- Added menu module "New Item".
- Added menu module for items "In Draft" and refined the list for "In Development" and "In Test".
1.0.0 - 2023-02-08
First baselined version