Blog › Atlassian & ITSM › JSM Assets
Atlassian has published a planned improvement for Assets that changes how Bitbucket repositories are selected inside Jira Service Management: repository lookups become workspace-scoped. Today, an Assets attribute of type "Bitbucket repository" searches across every workspace your Bitbucket integration has ever seen. The new behaviour lets admins narrow that search to a defined list of workspaces, and the change carries through to the end-user picker, AQL queries and imports.
The update is currently listed with status Planned in Atlassian's release notes, so there is no confirmed ship date yet and details could still change before rollout. It is worth flagging now for any team using Assets to track repositories, because the change affects existing attribute configuration as well as new setups.
What's new
The core change is workspace scoping for the Bitbucket repository object type attribute, aimed at making repository searches and selections faster and more reliable by focusing on specific Bitbucket workspaces. Four things change concretely:
- Admins can restrict a Bitbucket repository attribute to specific workspaces.
- The repository picker shown to end users is automatically filtered to only the configured workspaces.
- AQL searches and imports for Bitbucket repositories are scoped to those same workspaces.
- Existing attribute values are automatically re-associated with the workspaces of the repositories already linked to them, so current data is not left unscoped.
Atlassian describes the benefits in four ways: faster repository lookup in a pre-filtered list, fewer cross-workspace API calls for better system reliability, more consistent data because selection is limited to relevant workspaces, and faster AQL query results when searching for Bitbucket repositories.
How to enable it
Per the release note, applying the scope is an object-schema-level configuration step, not a global toggle:
- Go to Assets in Jira Service Management.
- Select the relevant object schema, then select an object type that already uses the Bitbucket repository attribute, or create a new Bitbucket repository attribute.
- In the attribute's Type Value field, select the Bitbucket workspaces you want to allow for that attribute.
Because existing attribute values are automatically associated with the workspaces of repositories already linked to them, you should not need to manually re-link every object when the feature lands. That said, this is described as a one-time migration behaviour, not an ongoing sync — once scoping is active, anything outside the selected workspaces will fall out of the picker and out of AQL results. It is worth checking the resulting workspace list against what each schema actually needs.
What it means for your team
This is a narrow but useful fix for a specific pain point: Assets schemas that model infrastructure, services or CIs against Bitbucket repositories and have grown to span several workspaces. If your organization only ever uses one Bitbucket workspace, the practical impact is small — the option will exist, but there is nothing to narrow. If you run multiple workspaces, for example per business unit or per legal entity, this is a straightforward reliability and usability improvement, and the release note does not describe any downside.
Rollout advice for admins: since this is still Planned, do not build a migration plan around it yet, but do take stock now of which object types use the Bitbucket repository attribute and which workspaces should be selectable for each, so the scope can be applied quickly once it ships. Budget time as well to verify the automatic workspace association after upgrade; a one-time migration is a reasonable starting point, but it is still worth a spot-check against your live Bitbucket workspace list before relying on AQL results being complete.
We help teams design and maintain Assets schemas that stay accurate as integrations like Bitbucket, workspaces and object types multiply — see our Atlassian consulting service if you would like a second opinion on your setup before or after this change rolls out.
Keep your Assets schema clean as integrations grow
want it helps teams design, audit and maintain Jira Service Management Assets schemas so integrations like Bitbucket stay accurate as workspaces and object types multiply.
Related articles
Source: Atlassian Release Notes · Karel Bielan, Atlassian consultant, want it s.r.o.
