Here’s the comprehensive solution for restoring Bamboo build traceability:
1. Publisher URLs (Bamboo Configuration)
Verify Bamboo publisher plugin configuration:
Bamboo Plan → Tasks → ELM Publisher:
ELM Server URL: https://elm.company.com/ccm
Project Area: ProjectX
Build Result URL: ${bamboo.buildResultUrl}
Plan Key: ${bamboo.planKey}
Critical Change in 7.0.2:
The publisher URL must include the project area context path:
- Old (7.0.1): `/ccm/publish
- New (7.0.2): `/ccm/oslc/projectareas/{area-id}/publish
Update your Bamboo publisher configuration:
Publisher Endpoint: /ccm/oslc/projectareas/ProjectX/publish
2. OSLC Link Properties (Schema Changes)
ELM 7.0.2 updated OSLC namespace URIs for build links:
Old Link Property (7.0.1):
<oslc:link rdf:resource="http://bamboo/builds/123"
xmlns:oslc="http://open-services.net/cm#"/>
New Link Property (7.0.2):
<oslc_cm:TracksChangeSet rdf:resource="http://bamboo/builds/123"
xmlns:oslc_cm="http://open-services.net/ns/cm#"/>
Key changes:
- Namespace:
http://open-services.net/ns/cm# (added /ns/)
- Property:
TracksChangeSet (was generic link)
- Prefix:
oslc_cm (was oslc)
Verification Query:
curl -H "Accept: application/rdf+xml" \
/ccm/oslc/workitems/12345/links
# Check for oslc_cm:TracksChangeSet elements
3. Plan Key Mapping (Integration Configuration)
ELM must recognize Bamboo plan keys for link resolution:
Admin Configuration:
ELM Admin → Integrations → CI Servers → Bamboo
Plan Mappings:
PROJ-BUILD → ProjectX Work Items
PROJ-RELEASE → ProjectX Releases
URL Template:
https://bamboo.company.com/browse/${planKey}-${buildNumber}
Plan Key Format Requirements:
- Must match Bamboo’s full plan key (project prefix + plan name)
- Case-sensitive
- Hyphen separator required
Common Mapping Errors:
- Using plan name only:
BUILD 
- Correct format:
PROJ-BUILD ✓
- Missing project context:
build 
4. Matrix Templates (Traceability Report Configuration)
Custom traceability templates must include build artifact types:
Template Configuration (Admin → Reports → Traceability Templates):
Add Build Artifact Type:
{
"artifactTypes": [
"oslc_cm:ChangeRequest",
"oslc_cm:Requirement",
"oslc_cm:Build" // Add this
],
"linkTypes": [
"oslc_cm:TracksChangeSet", // Build links
"oslc_cm:Implements"
]
}
Matrix Column Configuration:
Columns:
- Work Item ID
- Title
- Status
- Related Builds (new column)
Property: oslc_cm:TracksChangeSet
Display: Build number + status
Complete Resolution Steps:
Step 1: Update Bamboo Publisher
1. Edit Bamboo plan → ELM Publisher task
2. Update Publisher Endpoint to: /ccm/oslc/projectareas/{area}/publish
3. Verify authentication token is valid
4. Save and run test build
Step 2: Verify OSLC Links
# Query work item links after test build
GET /ccm/oslc/workitems/{id}/links
Accept: application/rdf+xml
# Verify response contains:
<oslc_cm:TracksChangeSet rdf:resource=".../builds/123"/>
Step 3: Update Plan Key Mappings
ELM Admin → Integrations → Bamboo
Update each plan mapping:
Old: BUILD → ProjectX
New: PROJ-BUILD → ProjectX
Test link resolution with sample build URL
Step 4: Update Traceability Template
Admin → Reports → Traceability Templates → [Your Template]
Add artifact type: oslc_cm:Build
Add link type: oslc_cm:TracksChangeSet
Add column: Related Builds (property: TracksChangeSet)
Save and regenerate report
Step 5: Validate in Reports
Generate traceability matrix report
Verify "Related Builds" column shows Bamboo build links
Check compliance report includes build traceability
Migration Script (Bulk Link Update):
If you have existing builds that need link updates:
// Pseudocode - Key implementation steps:
1. Query all work items in project area
2. For each work item, fetch associated Bamboo builds from build history
3. Delete old oslc:link references (7.0.1 format)
4. Create new oslc_cm:TracksChangeSet links (7.0.2 format)
5. Update traceability index to reflect new links
// See documentation: ELM Migration Guide Section 12.3
Bamboo Plugin Update:
Ensure Bamboo ELM publisher plugin version compatibility:
- ELM 7.0.2 requires plugin version 3.2.0 or higher
- Update via Bamboo → Add-ons → Manage Add-ons → ELM Publisher
- Restart Bamboo after plugin update
Troubleshooting Checklist:
✓ Publisher endpoint includes project area context
✓ OSLC link namespace uses `/ns/cm#
✓ Plan keys match Bamboo format with project prefix
✓ Traceability template includes Build artifact type
✓ Bamboo plugin version ≥ 3.2.0
✓ Authentication token has ccm.build.link.create permission
After completing these steps, Bamboo builds should appear in traceability matrix reports with proper OSLC link associations. The key changes are the publisher URL format and OSLC namespace updates in 7.0.2.