Your deployment status visibility issue stems from incomplete configuration across three critical integration points in the Jira-Bitbucket deployment pipeline.
DVCS Connector Configuration: While your repository link appears active, the DVCS connector primarily handles code commits and pull requests - it’s separate from deployment tracking. For Jira DC, verify your DVCS account settings include:
- Navigate to Jira Settings → Applications → DVCS accounts
- Select your Bitbucket Cloud/Server connection
- Ensure “Enable Development Information” is checked
- Verify the OAuth consumer has
repository:write and deployment:write scopes
- Click “Refresh repositories” to force synchronization
The DVCS connector establishes the foundation, but deployment data flows through a different API endpoint.
Pipe Authentication Setup: Your bitbucket-pipelines.yml is missing critical variables for deployment tracking. Update your configuration:
pipes:
- pipe: atlassian/jira-upload-deployment-info:1.2.0
variables:
JIRA_BASE_URL: $JIRA_BASE_URL
JIRA_API_TOKEN: $JIRA_API_TOKEN
ENVIRONMENT: production
ISSUE_KEYS: $BITBUCKET_COMMIT_MESSAGE
STATE: successful
Set these as repository variables in Bitbucket (Settings → Repository variables):
JIRA_BASE_URL: Your Jira DC base URL
JIRA_API_TOKEN: API token from a Jira user with deployment permissions
The ISSUE_KEYS variable is crucial - it extracts Jira issue keys from commit messages to link deployments. Without this, the pipe sends deployment data to Jira but can’t associate it with specific issues.
Development Permissions: For Jira Data Center, the API token user requires elevated permissions:
- Project Permission: “Administer Projects” (not just “Edit Issues”)
- Global Permission: “Browse Users and Groups” for deployment author attribution
- Application Access: Ensure the user isn’t restricted by IP allowlists
Test permissions with this API call from your Bitbucket pipeline:
curl -H "Authorization: Bearer $JIRA_API_TOKEN" \
$JIRA_BASE_URL/rest/deployments/1.0/bulk
If this returns 401/403, your permissions are insufficient.
Jira DC Specific Configuration: For Data Center instances, enable deployment features:
- Go to Jira Settings → System → Feature flags
- Ensure “Deployments” feature is enabled
- Check Settings → Applications → Application links for active Bitbucket link
- Verify the application link has “Incoming Authentication” configured
Troubleshooting the Missing Data: Your pipeline completes without errors because the pipe itself executes successfully - the failure is in the Jira API call that happens inside the pipe. Enable verbose logging:
pipes:
- pipe: atlassian/jira-upload-deployment-info:latest
variables:
DEBUG: "true"
This will show the actual API requests and responses, revealing authentication or payload issues.
The most common root cause in your scenario is missing ISSUE_KEYS extraction. Even with perfect authentication, if the deployment data doesn’t reference specific issue keys, it won’t appear in issue deployment panels. Implement commit message parsing or use branch name conventions (like feature/PROJ-123-description) to automatically populate issue keys for deployment tracking.