MAIASS automatically generates pull request URLs for GitHub and Bitbucket repositories, streamlining your workflow by opening PR creation pages with pre-filled source and target branches.
- Automatically detects GitHub repositories from remote URLs
- Creates PR URLs with quick pull request format
- Supports both public and private repositories
- Works with GitHub Enterprise instances
- Automatically detects Bitbucket repositories from remote URLs
- Creates PR URLs with source and destination branches
- Supports both Bitbucket Cloud and Server
- Works with private workspaces
MAIASS automatically detects repository information from git remotes:
# GitHub repository
git remote -v
# origin https://github.com/username/repo.git (fetch)
# origin https://github.com/username/repo.git (push)
# Bitbucket repository
git remote -v
# origin https://bitbucket.org/workspace/repo.git (fetch)
# origin https://bitbucket.org/workspace/repo.git (push)You can override auto-detection by setting environment variables:
# GitHub configuration
MAIASS_GITHUB_OWNER=yourusername
MAIASS_GITHUB_REPO=your-repo
# Bitbucket configuration
MAIASS_BITBUCKET_WORKSPACE=yourworkspace
MAIASS_BITBUCKET_REPO_SLUG=your-repo-slugDeprecated (MAI-63):
MAIASS_STAGING_PULLREQUESTSandMAIASS_MASTER_PULLREQUESTS/MAIASS_MAIN_PULLREQUESTSare no longer read. They were only consumed by the post-bump deploy menu, which has been removed for parity with the node CLI. Setting them now has no effect.
MAIASS generates GitHub PR URLs in this format:
https://github.com/owner/repo/compare/target...source?quick_pull=1
Example:
# Current branch: feature/user-auth
# Target branch: main
# Generated URL:
https://github.com/myuser/myrepo/compare/main...feature/user-auth?quick_pull=1MAIASS generates Bitbucket PR URLs in this format:
https://bitbucket.org/workspace/repo/pull-requests/new?source=source&dest=target
Example:
# Current branch: feature/user-auth
# Target branch: develop
# Generated URL:
https://bitbucket.org/myworkspace/myrepo/pull-requests/new?source=feature/user-auth&dest=developIn a full Git Flow setup, MAIASS offers pull requests at key merge points:
- Feature → Develop: When merging feature branches
- Develop → Staging: When deploying to staging
- Staging → Master: When deploying to production
# Example workflow
maiass minor
# Output:
# ✓ Merged feature/user-auth into develop
#
# Deploy to staging?
# 1) Create Pull Request
# 2) Direct merge
# 3) SkipIn simpler workflows, MAIASS offers pull requests for:
- Feature → Main: When merging feature branches
- Any → Main: When deploying changes
MAIASS can automatically open pull request URLs in your browser:
# Configure browser (optional)
MAIASS_BROWSER="Google Chrome"
MAIASS_BROWSER_PROFILE="Profile 1"MAIASS_BROWSER_PROFILE is for multiple profiles on chrome or brave browsers and is optional
- macOS: Safari, Chrome, Firefox, Edge, Brave
- Linux: Default browser, Chrome, Firefox
- Windows (WSL): Uses Windows default browser
When creating pull requests, MAIASS automatically includes Jira ticket information:
# Branch: feature/PROJ-123-user-authentication
# PR title will include: [PROJ-123]
# PR description may include ticket detailsMAIASS does not yet recognize custom PR templates.
For GitHub repositories, you can create draft PRs by modifying the URL:
# Standard PR
https://github.com/owner/repo/compare/main...feature?quick_pull=1
# Draft PR (add &draft=1)
https://github.com/owner/repo/compare/main...feature?quick_pull=1&draft=1"Repository not detected"
- Verify git remote is configured:
git remote -v - Check remote URL format matches GitHub/Bitbucket patterns
- Manually set
MAIASS_GITHUB_OWNERandMAIASS_GITHUB_REPO
"PR URL not opening"
- Check browser configuration
- Verify internet connectivity
- Try copying URL manually
"Wrong repository detected"
- Check multiple remotes:
git remote -v - Set explicit configuration in
.env - Verify remote URL is correct
export MAIASS_DEBUG="true"
export MAIASS_VERBOSITY="debug"
maiass patch
# Shows repository detection process
# Displays generated PR URLs
# Reveals browser opening attempts- Use descriptive branch names - They become PR titles
- Include ticket numbers - MAIASS will extract them automatically
- Configure PR templates - Standardize PR descriptions
- Review before creating - URLs are generated but not automatically submitted
- Test with small changes - Verify PR integration works as expected
# Repository: https://github.com/mycompany/webapp
# Current branch: feature/WEBAPP-456-login-fix
# Target: main
maiass patch
# Output:
# ✓ Version bumped to 1.2.4
# ✓ Created tag v1.2.4
#
# Merge to main?
# 1) Create Pull Request: https://github.com/mycompany/webapp/compare/main...feature/WEBAPP-456-login-fix?quick_pull=1
# 2) Direct merge
# 3) Skip# Repository: https://bitbucket.org/myteam/api
# Current branch: bugfix/API-789-validation
# Target: develop
maiass minor
# Output:
# ✓ Version bumped to 1.3.0
# ✓ Merged into develop
#
# Deploy to staging?
# 1) Create Pull Request: https://bitbucket.org/myteam/api/pull-requests/new?source=develop&dest=staging
# 2) Direct merge
# 3) Skip