File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ var CollectApiIssueCommentsMeta = core.SubTaskMeta{
3030 EnabledByDefault : true ,
3131 Required : true ,
3232 Description : "Collect issue comments data from bitbucket api" ,
33- DomainTypes : []string {core .DOMAIN_TYPE_CODE },
33+ DomainTypes : []string {core .DOMAIN_TYPE_TICKET },
3434}
3535
3636func CollectApiIssueComments (taskCtx core.SubTaskContext ) error {
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ var ConvertIssueCommentsMeta = core.SubTaskMeta{
3434 EntryPoint : ConvertIssueComments ,
3535 EnabledByDefault : true ,
3636 Description : "ConvertIssueComments data from Bitbucket api" ,
37- DomainTypes : []string {core .DOMAIN_TYPE_CODE },
37+ DomainTypes : []string {core .DOMAIN_TYPE_TICKET },
3838}
3939
4040func ConvertIssueComments (taskCtx core.SubTaskContext ) error {
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ var ExtractApiIssueCommentsMeta = core.SubTaskMeta{
6262 EnabledByDefault : true ,
6363 Required : true ,
6464 Description : "Extract raw issue comments data into tool layer table BitbucketIssueComments" ,
65- DomainTypes : []string {core .DOMAIN_TYPE_CODE },
65+ DomainTypes : []string {core .DOMAIN_TYPE_TICKET },
6666}
6767
6868func ExtractApiIssueComments (taskCtx core.SubTaskContext ) error {
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ var CollectApiPullRequestsMeta = core.SubTaskMeta{
3333 EnabledByDefault : true ,
3434 Required : true ,
3535 Description : "Collect PullRequests data from Bitbucket api" ,
36- DomainTypes : []string {core .DOMAIN_TYPE_CODE },
36+ DomainTypes : []string {core .DOMAIN_TYPE_CODE_REVIEW },
3737}
3838
3939func CollectApiPullRequests (taskCtx core.SubTaskContext ) error {
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ var CollectApiPrCommentsMeta = core.SubTaskMeta{
3030 EnabledByDefault : true ,
3131 Required : true ,
3232 Description : "Collect pull requests comments data from bitbucket api" ,
33- DomainTypes : []string {core .DOMAIN_TYPE_CODE },
33+ DomainTypes : []string {core .DOMAIN_TYPE_CODE_REVIEW },
3434}
3535
3636func CollectApiPullRequestsComments (taskCtx core.SubTaskContext ) error {
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ var ConvertPrCommentsMeta = core.SubTaskMeta{
3434 EntryPoint : ConvertPullRequestComments ,
3535 EnabledByDefault : true ,
3636 Description : "ConvertPullRequestComments data from Bitbucket api" ,
37- DomainTypes : []string {core .DOMAIN_TYPE_CODE },
37+ DomainTypes : []string {core .DOMAIN_TYPE_CODE_REVIEW },
3838}
3939
4040func ConvertPullRequestComments (taskCtx core.SubTaskContext ) error {
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ var ExtractApiPrCommentsMeta = core.SubTaskMeta{
3131 EnabledByDefault : true ,
3232 Required : true ,
3333 Description : "Extract raw pull requests comments data into tool layer table BitbucketPrComments" ,
34- DomainTypes : []string {core .DOMAIN_TYPE_CODE },
34+ DomainTypes : []string {core .DOMAIN_TYPE_CODE_REVIEW },
3535}
3636
3737type BitbucketPrCommentsResponse struct {
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ var ConvertPullRequestsMeta = core.SubTaskMeta{
3636 EnabledByDefault : true ,
3737 Required : true ,
3838 Description : "ConvertPullRequests data from Bitbucket api" ,
39- DomainTypes : []string {core .DOMAIN_TYPE_CODE },
39+ DomainTypes : []string {core .DOMAIN_TYPE_CODE_REVIEW },
4040}
4141
4242func ConvertPullRequests (taskCtx core.SubTaskContext ) error {
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ var ExtractApiPullRequestsMeta = core.SubTaskMeta{
3131 EnabledByDefault : true ,
3232 Required : true ,
3333 Description : "Extract raw PullRequests data into tool layer table bitbucket_pull_requests" ,
34- DomainTypes : []string {core .DOMAIN_TYPE_CODE },
34+ DomainTypes : []string {core .DOMAIN_TYPE_CODE_REVIEW },
3535}
3636
3737type BitbucketApiPullRequest struct {
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ var CollectApiRepoMeta = core.SubTaskMeta{
3333 EntryPoint : CollectApiRepositories ,
3434 Required : true ,
3535 Description : "Collect repositories data from Bitbucket api" ,
36- DomainTypes : core .DOMAIN_TYPES ,
36+ DomainTypes : [] string { core .DOMAIN_TYPE_CODE } ,
3737}
3838
3939func CollectApiRepositories (taskCtx core.SubTaskContext ) error {
You can’t perform that action at this time.
0 commit comments