Introduction: Connecting Architecture to Delivery
In modern software projects, teams often use Azure DevOps to manage their work — defining features, writing user stories, assigning tasks, and tracking progress. Meanwhile, architects use Sparx Enterprise Architect (EA) to design systems, model requirements, and trace how things fit together.
If these two worlds are not connected, architecture becomes disconnected from actual development. That’s why it’s useful to integrate EA with Azure DevOps , especially during the Software Development Lifecycle (SDLC) .
In this guide, we explain in simple terms how to link EA and Azure DevOps so that your project requirements and architecture models stay in sync with what developers are building.
What You Can Achieve by Integrating EA and Azure DevOps
- Track each architectural requirement from design to development and testing
- See which requirements are implemented, pending, or missing
- Avoid miscommunication between architects, developers, and testers
- Trace issues and bugs back to original requirements and system designs
Typical SDLC Flow with EA and Azure DevOps
- Architects define and model requirements in EA
- These requirements are linked to work items (e.g., user stories) in Azure DevOps
- Developers implement features based on those stories
- Testers validate against the requirements
- EA is updated to reflect implementation and testing status
Simple Manual Linking: EA to Azure DevOps
Step 1: Create Requirements in EA
In Sparx EA, create your functional and non-functional requirements using the Requirement element. Give each one a name, description, and unique ID (e.g., REQ-001).
Step 2: Create Work Items in Azure DevOps
In Azure DevOps, create corresponding User Stories or Tasks with the same title and summary. Paste the EA requirement ID (like REQ-001) in the description or a custom field.
Step 3: Link Them with a Tagged Value in EA
Back in EA, open the requirement and add a
tagged value
called
AzDevOps_ID
or
StoryLink
and paste the Azure DevOps work item ID or link (e.g., #12345).
Step 4: Use Notes to Add Status
In EA, you can update the requirement note or a tag like
Status
to track progress (e.g., “In Progress”, “Done”, “Ready for Test”).
How to Automate the Link with Simple Scripts
While manual linking works, you can also write scripts in EA (JavaScript or VBScript) to pull or push info.
Example: Export Requirements to CSV
var file = new ActiveXObject("Scripting.FileSystemObject").CreateTextFile("export.csv", true);
file.WriteLine("ID,Name,Notes");
for (var i = 0; i < Repository.Models.Count; i++) {
var model = Repository.Models.GetAt(i);
var elements = model.GetElementsByType("Requirement");
for (var j = 0; j < elements.Count; j++) {
var e = elements.GetAt(j);
file.WriteLine(e.Alias + "," + e.Name + "," + e.Notes);
}
}
file.Close();
This CSV can be imported into Azure DevOps using its Excel integration or API tools.
Using Azure DevOps to Track Progress
- Developers update user stories as they work (New → Active → Done)
- Testers add test cases and bugs under the same story
- You can review status updates and reflect them in EA (manually or via script)
Reverse Engineering: From Code Back into EA
If your Azure DevOps project includes Git repositories, and you want to visualize the code in EA:
Steps:
- Clone the Git repo locally (from Azure DevOps)
-
In EA, go to
Code Engineering → Import Source Directory
- Select the language (C#, Java, etc.)
- EA will generate class diagrams and code models
This helps you connect actual implementation to the original requirements or components in your EA model.
Best Practices to Follow
- Keep IDs consistent between EA and Azure DevOps
-
Use tags like
Status
,Owner
, andPriority
for filtering - Create diagrams in EA that show Requirement → User Story → Component
- Review your links regularly to keep everything up to date
Benefits of EA + Azure DevOps in the SDLC
- Better visibility from planning to implementation
- Improved quality due to stronger requirement tracking
- Fewer gaps between design and what gets delivered
- Easier audits and compliance reporting
Conclusion
You don’t need complex tools to connect EA and Azure DevOps. Even with basic practices like tagging, exporting, and reverse engineering, you can achieve solid traceability across the SDLC.
Over time, you can automate more, but starting simple is the best first step. This connection turns your architecture into a living part of your agile project workflow.
Keywords/Tags
- Enterprise Architect Azure DevOps SDLC
- link EA to Azure DevOps work items
- EA requirement traceability agile
- how to reverse engineer Git repos in EA
- architecture and devops integration
- EA scripting export requirements
- SDLC requirements lifecycle EA
- simple EA DevOps integration
- traceability diagram enterprise architect
- requirement management agile tools