Import an BitBucket environment from a configuration perspective into Insight. This is all BitBucket administrators dream!

Some uses cases could be:

  • Find inactive projects, pull request, branches etc
  • Alert on pull request inactivity
  • For compliance, find out when an user was added och removed from accessing a specific project.
  • So much more....

Import Type Fields

This 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

NameDescription
Selector

Available Selectors:

NameDescription
PROJECTGet all Projects
PERMISSIONGet all permissions
REPOSITORYGet all repositories
PULL_REQUESTGet all pull requests
PULL_REQUEST_USER_INFOGet all pull request user infos
BRANCHGet all branches
BRANCH_PERMISSIONGet all branch permissions
USERGet all Users
GROUPGet all Groups
COMMITGet all commits


Predefined Structure & Configuration

This import module type provides an implementation of predefined structure and configuration.

Below are screen shots on the how it looks in Insight.

Object Type Tree

Object Schema Graf

Below you will find all predefined data for each object type. This can be changed for your requirements!

Branch

AttributeTypeIdentifierDescription
Display IDTEXT
The display Id
RepositoryOBJECT(Haken)The Repository
DeletedBOOLEAN
If branch is deleted
DefaultBOOLEAN
If the branch is default
Latest ChangesetTEXT
The latest change set
Latest CommitTEXT
The latest commit
TypeTEXT
The type of branch
IdINTEGER
The branch Id

Branch Permission

AttributeTypeIdentifierDescription
NameTEXT
The name
DeletedBOOLEAN
If deleted
GroupsOBJECT
The list of Group
UsersOBJECT
The list of User
RepositoryOBJECT
The Repository
Matcher BranchOBJECT
The matcher Branch
Matcher ValueSELECT
The matcher value
Matcher TypeTEXT
The matcher type
TypeSELECT
The type of project
IdINTEGER(Haken)The branch permission Id

Group

AttributeTypeIdentifierDescription
NameTEXT(Haken)The name
DeletedBOOLEAN
If deleted

Permission

AttributeTypeIdentifierDescription
NameTEXT(Haken)The name
DeletedBOOLEAN
If deleted
PermissionSELECT
The permission
GroupOBJECT
The Group
UserOBJECT
The User
RepositoryOBJECT
The Repository
ProjectOBJECT
The Project
TypeSELECT
The type

Project

AttributeTypeIdentifierDescription
NameTEXT
The name
DeletedBOOLEAN
If deleted
DescriptionTEXT
The description
Self URLURL
The Self URL
PublicBOOLEAN
If public
TypeSELECT
The type
Project KeyTEXT(Haken)The project key

Pull Request

AttributeTypeIdentifierDescription
RepositoryOBJECT(Haken)The repository
DeletedBOOLEAN
If deleted
Participant InfoOBJECT
List of participant info (Pull Request - User Info)
Reviewer InfoOBJECT
List of reviewer info (Pull Request - User Info)
Author InfoOBJECT
Author Info (Pull Request - User Info)
Destination BranchOBJECT
Destination Branch
Source BranchOBJECT
Source Branch
Closed DateDATE
The closed date
Updated DateDATE
The updated date
Created DateDATE
The created date
Self URLURL
The Self URL
LockedBOOLEAN
If looked
OpenBOOLEAN
If open
StateSTATUS
The state
VersionTEXT
The version
IdTEXT(Haken)The Id
TitleTEXT
The title

Pull Request - User Info

AttributeTypeIdentifierDescription
UserUSER
The user
DeletedBOOLEAN
If deleted
ApprovedBOOLEAN
If approved
StatusSTATUS
The state
Last Reviewed CommitTEXT
The last reviewed commit
RoleTEXT
The role
IdTEXT(Haken)The Id
NameTEXT
The title

User

AttributeTypeIdentifierDescription
DeletedBOOLEAN
If deleted
ActiveBOOLEAN
If active
IdTEXT(Haken)The id
SlugTEXT
The slug
TypeTEXT
The type
Email AddressEMAIL
The email address
UsernameTEXT
The username
NameTEXT
The title

Repository

AttributeTypeIdentifierDescription
DeletedBOOLEAN
If deleted
StateSTATUS
The state
IdTEXT(Haken)The id
ProjectPROJECT
The project
Status MessageTEXT
The status message
ScmIdTEXT
The Scm Id
ForkableBOOLEAN
If forkable
SlugTEXT
The slug
NameTEXT
The title






  • No labels