Bitbucket environment import
Import a Bitbucket environment from a configuration perspective into Assets.
Some uses cases could be:
- Find inactive projects, pull request, branches etc
- Alert on pull request inactivity
- For compliance, find out when a user was added and removed from accessing a specific project.
- So much more....
Import type fields
These are the module type specific fields needed to be configured for this import type
Setting | Description |
---|---|
URL | URL to the Bitbucket server |
Username | Username to authenticate to Bitbucket |
Password | Password to authenticate to Bitbucket |
Object type mapping configuration
Name | Description | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Selector | Available Selectors:
|
Predefined structure & configuration
This import module type provides an implementation of predefined structure and configuration.
Below are screenshots on the how it looks in Assets.
Object type tree
Object schema graph
Below you will find all predefined data for each object type. This can be changed for your requirements!
Branch
Attribute | Type | Identifier | Description |
---|---|---|---|
Display ID | TEXT | The display Id | |
Repository | OBJECT | The Repository | |
Deleted | BOOLEAN | If branch is deleted | |
Default | BOOLEAN | If the branch is default | |
Latest Changeset | TEXT | The latest change set | |
Latest Commit | TEXT | The latest commit | |
Type | TEXT | The type of branch | |
Id | INTEGER | The branch Id |
Branch Permission
Attribute | Type | Identifier | Description |
---|---|---|---|
Name | TEXT | The name | |
Deleted | BOOLEAN | If deleted | |
Groups | OBJECT | The list of Group | |
Users | OBJECT | The list of User | |
Repository | OBJECT | The Repository | |
Matcher Branch | OBJECT | The matcher Branch | |
Matcher Value | SELECT | The matcher value | |
Matcher Type | TEXT | The matcher type | |
Type | SELECT | The type of project | |
Id | INTEGER | The branch permission Id |
Group
Attribute | Type | Identifier | Description |
---|---|---|---|
Name | TEXT | The name | |
Deleted | BOOLEAN | If deleted |
Permission
Attribute | Type | Identifier | Description |
---|---|---|---|
Name | TEXT | The name | |
Deleted | BOOLEAN | If deleted | |
Permission | SELECT | The permission | |
Group | OBJECT | The Group | |
User | OBJECT | The User | |
Repository | OBJECT | The Repository | |
Project | OBJECT | The Project | |
Type | SELECT | The type |
Project
Attribute | Type | Identifier | Description |
---|---|---|---|
Name | TEXT | The name | |
Deleted | BOOLEAN | If deleted | |
Description | TEXT | The description | |
Self URL | URL | The Self URL | |
Public | BOOLEAN | If public | |
Type | SELECT | The type | |
Project Key | TEXT | The project key |
Pull Request
Attribute | Type | Identifier | Description |
---|---|---|---|
Repository | OBJECT | The repository | |
Deleted | BOOLEAN | If deleted | |
Participant Info | OBJECT | List of participant info (Pull Request - User Info) | |
Reviewer Info | OBJECT | List of reviewer info (Pull Request - User Info) | |
Author Info | OBJECT | Author Info (Pull Request - User Info) | |
Destination Branch | OBJECT | Destination Branch | |
Source Branch | OBJECT | Source Branch | |
Closed Date | DATE | The closed date | |
Updated Date | DATE | The updated date | |
Created Date | DATE | The created date | |
Self URL | URL | The Self URL | |
Locked | BOOLEAN | If looked | |
Open | BOOLEAN | If open | |
State | STATUS | The state | |
Version | TEXT | The version | |
Id | TEXT | The Id | |
Title | TEXT | The title |
Pull Request - User Info
Attribute | Type | Identifier | Description |
---|---|---|---|
User | USER | The user | |
Deleted | BOOLEAN | If deleted | |
Approved | BOOLEAN | If approved | |
Status | STATUS | The state | |
Last Reviewed Commit | TEXT | The last reviewed commit | |
Role | TEXT | The role | |
Id | TEXT | The Id | |
Name | TEXT | The title |
User
Attribute | Type | Identifier | Description |
---|---|---|---|
Deleted | BOOLEAN | If deleted | |
Active | BOOLEAN | If active | |
Id | TEXT | The id | |
Slug | TEXT | The slug | |
Type | TEXT | The type | |
Email Address | The email address | ||
Username | TEXT | The username | |
Name | TEXT | The title |
Repository
Attribute | Type | Identifier | Description |
---|---|---|---|
Deleted | BOOLEAN | If deleted | |
State | STATUS | The state | |
Id | TEXT | The id | |
Project | PROJECT | The project | |
Status Message | TEXT | The status message | |
ScmId | TEXT | The Scm Id | |
Forkable | BOOLEAN | If forkable | |
Slug | TEXT | The slug | |
Name | TEXT | The title |