workitem

package
v1.0.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2025 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

View Source
const APIPathAbortWorkItem = "/open_api/:project_key/work_item/:work_item_type_key/:work_item_id/abort"
View Source
const APIPathCompositiveSearch = "/open_api/compositive_search"
View Source
const APIPathCreateWorkItem = "/open_api/:project_key/work_item/create"
View Source
const APIPathCreateWorkItemRelation = "/open_api/work_item/relation/create"
View Source
const APIPathCreateWorkingHourRecord = "/open_api/:project_key/work_item/:work_item_type_key/:work_item_id/work_hour_record"
View Source
const APIPathDeleteWorkItem = "/open_api/:project_key/work_item/:work_item_type_key/:work_item_id"
View Source
const APIPathDeleteWorkItemRelation = "/open_api/work_item/relation/delete"
View Source
const APIPathDeleteWorkingHourRecord = "/open_api/:project_key/work_item/:work_item_type_key/:work_item_id/work_hour_record"
View Source
const APIPathFilter = "/open_api/:project_key/work_item/filter"
View Source
const APIPathFilterAcrossProject = "/open_api/work_items/filter_across_project"
View Source
const APIPathGetMeta = "/open_api/:project_key/work_item/:work_item_type_key/meta"
View Source
const APIPathGetWorkItemManHourRecords = "/open_api/work_item/man_hour/records"
View Source
const APIPathGetWorkItemTypeInfoByKey = "/open_api/:project_key/work_item/type/:work_item_type_key"
View Source
const APIPathNodeOperate = "/open_api/:project_key/workflow/:work_item_type_key/:work_item_id/node/:node_id/operate"
View Source
const APIPathNodeStateChange = "/open_api/:project_key/workflow/:work_item_type_key/:work_item_id/node/state_change"
View Source
const APIPathNodeUpdate = "/open_api/:project_key/workflow/:work_item_type_key/:work_item_id/node/:node_id"
View Source
const APIPathQueryWorkItemDetail = "/open_api/:project_key/work_item/:work_item_type_key/query"
View Source
const APIPathQueryWorkItemRelation = "/open_api/:project_key/work_item/relation"
View Source
const APIPathQueryWorkflow = "/open_api/:project_key/work_item/:work_item_type_key/:work_item_id/workflow/query"
View Source
const APIPathSearchByParams = "/open_api/:project_key/work_item/:work_item_type_key/search/params"
View Source
const APIPathSearchByRelation = "/open_api/:project_key/work_item/:work_item_type_key/:work_item_id/search_by_relation"
View Source
const APIPathUpdateMultiSignal = "/open_api/:project_key/work_item/:work_item_type_key/:work_item_id/update/multi_signal"
View Source
const APIPathUpdateWorkItem = "/open_api/:project_key/work_item/:work_item_type_key/:work_item_id"
View Source
const APIPathUpdateWorkItemRelation = "/open_api/work_item/relation/update"
View Source
const APIPathUpdateWorkItemTypeInfo = "/open_api/:project_key/work_item/type/:work_item_type_key"
View Source
const APIPathUpdateWorkingHourRecord = "/open_api/:project_key/work_item/:work_item_type_key/:work_item_id/work_hour_record"
View Source
const APIPathWbsView = "/open_api/:project_key/work_item/:work_item_type_key/:work_item_id/wbs_view"

Variables

This section is empty.

Functions

This section is empty.

Types

type AbortWorkItemReq

type AbortWorkItemReq struct {
	// contains filtered or unexported fields
}

type AbortWorkItemReqBody

type AbortWorkItemReqBody struct {
	IsAborted bool `json:"is_aborted"`

	Reason string `json:"reason"`
}

type AbortWorkItemReqBuilder

type AbortWorkItemReqBuilder struct {
	// contains filtered or unexported fields
}

func NewAbortWorkItemReqBuilder

func NewAbortWorkItemReqBuilder() *AbortWorkItemReqBuilder

func (*AbortWorkItemReqBuilder) Build

func (builder *AbortWorkItemReqBuilder) Build() *AbortWorkItemReq

func (*AbortWorkItemReqBuilder) IsAborted

func (builder *AbortWorkItemReqBuilder) IsAborted(isAborted bool) *AbortWorkItemReqBuilder

func (*AbortWorkItemReqBuilder) ProjectKey

func (builder *AbortWorkItemReqBuilder) ProjectKey(projectKey string) *AbortWorkItemReqBuilder

func (*AbortWorkItemReqBuilder) Reason

func (builder *AbortWorkItemReqBuilder) Reason(reason string) *AbortWorkItemReqBuilder

func (*AbortWorkItemReqBuilder) WorkItemID

func (builder *AbortWorkItemReqBuilder) WorkItemID(workItemID int64) *AbortWorkItemReqBuilder

func (*AbortWorkItemReqBuilder) WorkItemTypeKey

func (builder *AbortWorkItemReqBuilder) WorkItemTypeKey(workItemTypeKey string) *AbortWorkItemReqBuilder

type AbortWorkItemResp

type AbortWorkItemResp struct {
	*core.APIResp `json:"-"`
	core.CodeError
}

type Checker

type Checker struct {
	CheckedTime int64 `json:"checked_time"`

	Owner string `json:"owner"`

	Status int32 `json:"status"`
}

type CompInfo

type CompInfo struct {
	ID string `json:"ID"`

	Name string `json:"name"`

	WorkItemTypeKey string `json:"WorkItemTypeKey"`

	ProjectKey string `json:"ProjectKey"`

	CreatedBy string `json:"CreatedBy"`

	CreatedAt int64 `json:"CreatedAt"`

	SearchHit []string `json:"SearchHit"`

	ViewScopeKey string `json:"ViewScopeKey"`

	ProjectKeys []string `json:"ProjectKeys"`
}

type CompositiveSearchReq

type CompositiveSearchReq struct {
	// contains filtered or unexported fields
}

type CompositiveSearchReqBody

type CompositiveSearchReqBody struct {
	ProjectKeys []string `json:"project_keys"`

	QueryType string `json:"query_type"`

	Query string `json:"query"`

	QuerySubType []string `json:"query_sub_type"`

	PageSize int64 `json:"page_size"`

	PageNum int64 `json:"page_num"`

	SimpleNames []string `json:"simple_names"`
}

type CompositiveSearchReqBuilder

type CompositiveSearchReqBuilder struct {
	// contains filtered or unexported fields
}

func NewCompositiveSearchReqBuilder

func NewCompositiveSearchReqBuilder() *CompositiveSearchReqBuilder

func (*CompositiveSearchReqBuilder) Build

func (*CompositiveSearchReqBuilder) PageNum

func (*CompositiveSearchReqBuilder) PageSize

func (builder *CompositiveSearchReqBuilder) PageSize(pageSize int64) *CompositiveSearchReqBuilder

func (*CompositiveSearchReqBuilder) ProjectKeys

func (builder *CompositiveSearchReqBuilder) ProjectKeys(projectKeys []string) *CompositiveSearchReqBuilder

func (*CompositiveSearchReqBuilder) Query

func (*CompositiveSearchReqBuilder) QuerySubType

func (builder *CompositiveSearchReqBuilder) QuerySubType(querySubType []string) *CompositiveSearchReqBuilder

func (*CompositiveSearchReqBuilder) QueryType

func (builder *CompositiveSearchReqBuilder) QueryType(queryType string) *CompositiveSearchReqBuilder

func (*CompositiveSearchReqBuilder) SimpleNames

func (builder *CompositiveSearchReqBuilder) SimpleNames(simpleNames []string) *CompositiveSearchReqBuilder

type CompositiveSearchResp

type CompositiveSearchResp struct {
	*core.APIResp `json:"-"`
	core.CodeError
	Data []*CompInfo `json:"data"`

	Pagination *common.Pagination `json:"pagination"`
}

type Connection

type Connection struct {
	SourceStateKey string `json:"source_state_key"`

	TargetStateKey string `json:"target_state_key"`

	TransitionID int64 `json:"transition_id"`
}

type CreateWorkItemRelationData

type CreateWorkItemRelationData struct {
	RelationID string `json:"relation_id"`
}

type CreateWorkItemRelationReq

type CreateWorkItemRelationReq struct {
	// contains filtered or unexported fields
}

type CreateWorkItemRelationReqBody

type CreateWorkItemRelationReqBody struct {
	ProjectKey string `json:"project_key"`

	WorkItemTypeKey string `json:"work_item_type_key"`

	Name string `json:"name"`

	RelationDetails []*RelationDetail `json:"relation_details"`
}

type CreateWorkItemRelationReqBuilder

type CreateWorkItemRelationReqBuilder struct {
	// contains filtered or unexported fields
}

func NewCreateWorkItemRelationReqBuilder

func NewCreateWorkItemRelationReqBuilder() *CreateWorkItemRelationReqBuilder

func (*CreateWorkItemRelationReqBuilder) Build

func (*CreateWorkItemRelationReqBuilder) Name

func (*CreateWorkItemRelationReqBuilder) ProjectKey

func (*CreateWorkItemRelationReqBuilder) RelationDetails

func (builder *CreateWorkItemRelationReqBuilder) RelationDetails(relationDetails []*RelationDetail) *CreateWorkItemRelationReqBuilder

func (*CreateWorkItemRelationReqBuilder) WorkItemTypeKey

func (builder *CreateWorkItemRelationReqBuilder) WorkItemTypeKey(workItemTypeKey string) *CreateWorkItemRelationReqBuilder

type CreateWorkItemRelationResp

type CreateWorkItemRelationResp struct {
	*core.APIResp `json:"-"`
	core.CodeError
	Data *CreateWorkItemRelationData `json:"data"`
}

type CreateWorkItemReq

type CreateWorkItemReq struct {
	// contains filtered or unexported fields
}

type CreateWorkItemReqBody

type CreateWorkItemReqBody struct {
	WorkItemTypeKey string `json:"work_item_type_key"`

	FieldValuePairs []*field.FieldValuePair `json:"field_value_pairs"`

	TemplateID int64 `json:"template_id"`

	Name string `json:"name"`
}

type CreateWorkItemReqBuilder

type CreateWorkItemReqBuilder struct {
	// contains filtered or unexported fields
}

func NewCreateWorkItemReqBuilder

func NewCreateWorkItemReqBuilder() *CreateWorkItemReqBuilder

func (*CreateWorkItemReqBuilder) Build

func (builder *CreateWorkItemReqBuilder) Build() *CreateWorkItemReq

func (*CreateWorkItemReqBuilder) FieldValuePairs

func (builder *CreateWorkItemReqBuilder) FieldValuePairs(fieldValuePairs []*field.FieldValuePair) *CreateWorkItemReqBuilder

func (*CreateWorkItemReqBuilder) Name

func (*CreateWorkItemReqBuilder) ProjectKey

func (builder *CreateWorkItemReqBuilder) ProjectKey(projectKey string) *CreateWorkItemReqBuilder

func (*CreateWorkItemReqBuilder) TemplateID

func (builder *CreateWorkItemReqBuilder) TemplateID(templateID int64) *CreateWorkItemReqBuilder

func (*CreateWorkItemReqBuilder) WorkItemTypeKey

func (builder *CreateWorkItemReqBuilder) WorkItemTypeKey(workItemTypeKey string) *CreateWorkItemReqBuilder

type CreateWorkItemResp

type CreateWorkItemResp struct {
	*core.APIResp `json:"-"`
	core.CodeError
	Data int64 `json:"data"`
}

type CreateWorkingHourRecord

type CreateWorkingHourRecord struct {
	ResourceType string `json:"resource_type"`

	ResourceID string `json:"resource_id"`

	WorkTime string `json:"work_time"`

	WorkDescription string `json:"work_description"`
}

type CreateWorkingHourRecordReq

type CreateWorkingHourRecordReq struct {
	// contains filtered or unexported fields
}

type CreateWorkingHourRecordReqBody

type CreateWorkingHourRecordReqBody struct {
	WorkBeginDate int64 `json:"work_begin_date"`

	WorkEndDate int64 `json:"work_end_date"`

	IncludeHolidays bool `json:"include_holidays"`

	WorkingHourRecords []*CreateWorkingHourRecord `json:"working_hour_records"`
}

type CreateWorkingHourRecordReqBuilder

type CreateWorkingHourRecordReqBuilder struct {
	// contains filtered or unexported fields
}

func NewCreateWorkingHourRecordReqBuilder

func NewCreateWorkingHourRecordReqBuilder() *CreateWorkingHourRecordReqBuilder

func (*CreateWorkingHourRecordReqBuilder) Build

func (*CreateWorkingHourRecordReqBuilder) IncludeHolidays

func (builder *CreateWorkingHourRecordReqBuilder) IncludeHolidays(includeHolidays bool) *CreateWorkingHourRecordReqBuilder

func (*CreateWorkingHourRecordReqBuilder) ProjectKey

func (*CreateWorkingHourRecordReqBuilder) WorkBeginDate

func (builder *CreateWorkingHourRecordReqBuilder) WorkBeginDate(workBeginDate int64) *CreateWorkingHourRecordReqBuilder

func (*CreateWorkingHourRecordReqBuilder) WorkEndDate

func (*CreateWorkingHourRecordReqBuilder) WorkItemID

func (*CreateWorkingHourRecordReqBuilder) WorkItemTypeKey

func (builder *CreateWorkingHourRecordReqBuilder) WorkItemTypeKey(workItemTypeKey string) *CreateWorkingHourRecordReqBuilder

func (*CreateWorkingHourRecordReqBuilder) WorkingHourRecords

func (builder *CreateWorkingHourRecordReqBuilder) WorkingHourRecords(workingHourRecords []*CreateWorkingHourRecord) *CreateWorkingHourRecordReqBuilder

type CreateWorkingHourRecordResp

type CreateWorkingHourRecordResp struct {
	*core.APIResp `json:"-"`
	core.CodeError
	Data []*ManHourRecord `json:"data"`
}

type DefaultValue

type DefaultValue struct {
	DefaultAppear int32 `json:"default_appear"`

	Value interface{} `json:"value"`
}

type DeleteWorkItemRelationReq

type DeleteWorkItemRelationReq struct {
	// contains filtered or unexported fields
}

type DeleteWorkItemRelationReqBody

type DeleteWorkItemRelationReqBody struct {
	RelationID string `json:"relation_id"`

	ProjectKey string `json:"project_key"`
}

type DeleteWorkItemRelationReqBuilder

type DeleteWorkItemRelationReqBuilder struct {
	// contains filtered or unexported fields
}

func NewDeleteWorkItemRelationReqBuilder

func NewDeleteWorkItemRelationReqBuilder() *DeleteWorkItemRelationReqBuilder

func (*DeleteWorkItemRelationReqBuilder) Build

func (*DeleteWorkItemRelationReqBuilder) ProjectKey

func (*DeleteWorkItemRelationReqBuilder) RelationID

type DeleteWorkItemRelationResp

type DeleteWorkItemRelationResp struct {
	*core.APIResp `json:"-"`
	core.CodeError
	Data string `json:"data"`
}

type DeleteWorkItemReq

type DeleteWorkItemReq struct {
	// contains filtered or unexported fields
}

type DeleteWorkItemReqBuilder

type DeleteWorkItemReqBuilder struct {
	// contains filtered or unexported fields
}

func NewDeleteWorkItemReqBuilder

func NewDeleteWorkItemReqBuilder() *DeleteWorkItemReqBuilder

func (*DeleteWorkItemReqBuilder) Build

func (builder *DeleteWorkItemReqBuilder) Build() *DeleteWorkItemReq

func (*DeleteWorkItemReqBuilder) ProjectKey

func (builder *DeleteWorkItemReqBuilder) ProjectKey(projectKey string) *DeleteWorkItemReqBuilder

func (*DeleteWorkItemReqBuilder) WorkItemID

func (builder *DeleteWorkItemReqBuilder) WorkItemID(workItemID int64) *DeleteWorkItemReqBuilder

func (*DeleteWorkItemReqBuilder) WorkItemTypeKey

func (builder *DeleteWorkItemReqBuilder) WorkItemTypeKey(workItemTypeKey string) *DeleteWorkItemReqBuilder

type DeleteWorkItemResp

type DeleteWorkItemResp struct {
	*core.APIResp `json:"-"`
	core.CodeError
}

type DeleteWorkingHourRecordReq

type DeleteWorkingHourRecordReq struct {
	// contains filtered or unexported fields
}

type DeleteWorkingHourRecordReqBody

type DeleteWorkingHourRecordReqBody struct {
	WorkingHourRecordIDs []int64 `json:"working_hour_record_ids"`
}

type DeleteWorkingHourRecordReqBuilder

type DeleteWorkingHourRecordReqBuilder struct {
	// contains filtered or unexported fields
}

func NewDeleteWorkingHourRecordReqBuilder

func NewDeleteWorkingHourRecordReqBuilder() *DeleteWorkingHourRecordReqBuilder

func (*DeleteWorkingHourRecordReqBuilder) Build

func (*DeleteWorkingHourRecordReqBuilder) ProjectKey

func (*DeleteWorkingHourRecordReqBuilder) WorkItemID

func (*DeleteWorkingHourRecordReqBuilder) WorkItemTypeKey

func (builder *DeleteWorkingHourRecordReqBuilder) WorkItemTypeKey(workItemTypeKey string) *DeleteWorkingHourRecordReqBuilder

func (*DeleteWorkingHourRecordReqBuilder) WorkingHourRecordIDs

func (builder *DeleteWorkingHourRecordReqBuilder) WorkingHourRecordIDs(workingHourRecordIDs []int64) *DeleteWorkingHourRecordReqBuilder

type DeleteWorkingHourRecordResp

type DeleteWorkingHourRecordResp struct {
	*core.APIResp `json:"-"`
	core.CodeError
}

type Expand

type Expand struct {
	NeedWorkflow bool `json:"need_workflow"`

	RelationFieldsDetail bool `json:"relation_fields_detail"`

	NeedMultiText bool `json:"need_multi_text"`

	NeedUserDetail bool `json:"need_user_detail"`

	NeedSubTaskParent bool `json:"need_sub_task_parent"`

	NeedUnionDeliverable bool `json:"need_union_deliverable"`
}

type FieldConf

type FieldConf struct {
	IsRequired int32 `json:"is_required"`

	IsVisibility int32 `json:"is_visibility"`

	RoleAssign []*user.RoleAssign `json:"role_assign"`

	FieldName string `json:"field_name"`

	FieldKey string `json:"field_key"`

	FieldAlias string `json:"field_alias"`

	FieldTypeKey string `json:"field_type_key"`

	DefaultValue *DefaultValue `json:"default_value"`

	Options []*OptionConf `json:"options"`

	CompoundFields []*FieldConf `json:"compound_fields"`

	IsValidity int32 `json:"is_validity"`

	Label string `json:"label"`
}

type FieldDeliverableItem added in v1.0.8

type FieldDeliverableItem struct {
	FieldInfo field.FieldValuePair `json:"field_info"`

	Placeholder string `json:"placeholder"`

	Remark string `json:"remark"`

	Status int64 `json:"status"`
}

type FieldDetail

type FieldDetail struct {
	StoryID int64 `json:"story_id"`

	WorkItemTypeKey string `json:"work_item_type_key"`

	ProjectKey string `json:"project_key"`
}

type FilterAcrossProjectReq

type FilterAcrossProjectReq struct {
	// contains filtered or unexported fields
}

type FilterAcrossProjectReqBody

type FilterAcrossProjectReqBody struct {
	ProjectKeys []string `json:"project_keys"`

	SearchUser *SearchUser `json:"search_user"`

	WorkItemTypeKey string `json:"work_item_type_key"`

	CreatedAt *TimeInterval `json:"created_at"`

	UpdatedAt *TimeInterval `json:"updated_at"`

	WorkItemStatus []*WorkItemStatus `json:"work_item_status"`

	WorkItemName string `json:"work_item_name"`

	PageNum int64 `json:"page_num"`

	PageSize int64 `json:"page_size"`

	TenantGroupID int64 `json:"tenant_group_id"`

	WorkItemIDs []int64 `json:"work_item_ids"`

	Businesses []string `json:"businesses"`

	Priorities []string `json:"priorities"`

	Tags []string `json:"tags"`

	SimpleNames []string `json:"simple_names"`

	TemplateIDs []int64 `json:"template_ids"`

	Expand *Expand `json:"expand"`
}

type FilterAcrossProjectReqBuilder

type FilterAcrossProjectReqBuilder struct {
	// contains filtered or unexported fields
}

func NewFilterAcrossProjectReqBuilder

func NewFilterAcrossProjectReqBuilder() *FilterAcrossProjectReqBuilder

func (*FilterAcrossProjectReqBuilder) Build

func (*FilterAcrossProjectReqBuilder) Businesses

func (builder *FilterAcrossProjectReqBuilder) Businesses(businesses []string) *FilterAcrossProjectReqBuilder

func (*FilterAcrossProjectReqBuilder) CreatedAt

func (*FilterAcrossProjectReqBuilder) Expand

func (*FilterAcrossProjectReqBuilder) PageNum

func (*FilterAcrossProjectReqBuilder) PageSize

func (*FilterAcrossProjectReqBuilder) Priorities

func (builder *FilterAcrossProjectReqBuilder) Priorities(priorities []string) *FilterAcrossProjectReqBuilder

func (*FilterAcrossProjectReqBuilder) ProjectKeys

func (builder *FilterAcrossProjectReqBuilder) ProjectKeys(projectKeys []string) *FilterAcrossProjectReqBuilder

func (*FilterAcrossProjectReqBuilder) SearchUser

func (*FilterAcrossProjectReqBuilder) SimpleNames

func (builder *FilterAcrossProjectReqBuilder) SimpleNames(simpleNames []string) *FilterAcrossProjectReqBuilder

func (*FilterAcrossProjectReqBuilder) Tags

func (*FilterAcrossProjectReqBuilder) TemplateIDs

func (builder *FilterAcrossProjectReqBuilder) TemplateIDs(templateIDs []int64) *FilterAcrossProjectReqBuilder

func (*FilterAcrossProjectReqBuilder) TenantGroupID

func (builder *FilterAcrossProjectReqBuilder) TenantGroupID(tenantGroupID int64) *FilterAcrossProjectReqBuilder

func (*FilterAcrossProjectReqBuilder) UpdatedAt

func (*FilterAcrossProjectReqBuilder) WorkItemIDs

func (builder *FilterAcrossProjectReqBuilder) WorkItemIDs(workItemIDs []int64) *FilterAcrossProjectReqBuilder

func (*FilterAcrossProjectReqBuilder) WorkItemName

func (builder *FilterAcrossProjectReqBuilder) WorkItemName(workItemName string) *FilterAcrossProjectReqBuilder

func (*FilterAcrossProjectReqBuilder) WorkItemStatus

func (builder *FilterAcrossProjectReqBuilder) WorkItemStatus(workItemStatus []*WorkItemStatus) *FilterAcrossProjectReqBuilder

func (*FilterAcrossProjectReqBuilder) WorkItemTypeKey

func (builder *FilterAcrossProjectReqBuilder) WorkItemTypeKey(workItemTypeKey string) *FilterAcrossProjectReqBuilder

type FilterAcrossProjectResp

type FilterAcrossProjectResp struct {
	*core.APIResp `json:"-"`
	core.CodeError
	Data []*WorkItemInfo `json:"data"`

	Pagination *common.Pagination `json:"pagination"`
}

type FilterReq

type FilterReq struct {
	// contains filtered or unexported fields
}

type FilterReqBody

type FilterReqBody struct {
	WorkItemName string `json:"work_item_name"`

	UserKeys []string `json:"user_keys"`

	WorkItemIDs []int64 `json:"work_item_ids"`

	WorkItemTypeKeys []string `json:"work_item_type_keys"`

	CreatedAt *TimeInterval `json:"created_at"`

	UpdatedAt *TimeInterval `json:"updated_at"`

	SubStages []string `json:"sub_stages"`

	Businesses []string `json:"businesses"`

	Priorities []string `json:"priorities"`

	Tags []string `json:"tags"`

	PageNum int64 `json:"page_num"`

	PageSize int64 `json:"page_size"`

	WorkItemStatus []*WorkItemStatus `json:"work_item_status"`

	SearchID string `json:"search_id"`

	Expand *Expand `json:"expand"`
}

type FilterReqBuilder

type FilterReqBuilder struct {
	// contains filtered or unexported fields
}

func NewFilterReqBuilder

func NewFilterReqBuilder() *FilterReqBuilder

func (*FilterReqBuilder) Build

func (builder *FilterReqBuilder) Build() *FilterReq

func (*FilterReqBuilder) Businesses

func (builder *FilterReqBuilder) Businesses(businesses []string) *FilterReqBuilder

func (*FilterReqBuilder) CreatedAt

func (builder *FilterReqBuilder) CreatedAt(createdAt *TimeInterval) *FilterReqBuilder

func (*FilterReqBuilder) Expand

func (builder *FilterReqBuilder) Expand(expand *Expand) *FilterReqBuilder

func (*FilterReqBuilder) PageNum

func (builder *FilterReqBuilder) PageNum(pageNum int64) *FilterReqBuilder

func (*FilterReqBuilder) PageSize

func (builder *FilterReqBuilder) PageSize(pageSize int64) *FilterReqBuilder

func (*FilterReqBuilder) Priorities

func (builder *FilterReqBuilder) Priorities(priorities []string) *FilterReqBuilder

func (*FilterReqBuilder) ProjectKey

func (builder *FilterReqBuilder) ProjectKey(projectKey string) *FilterReqBuilder

func (*FilterReqBuilder) SearchID added in v1.0.5

func (builder *FilterReqBuilder) SearchID(searchID string) *FilterReqBuilder

func (*FilterReqBuilder) SubStages

func (builder *FilterReqBuilder) SubStages(subStages []string) *FilterReqBuilder

func (*FilterReqBuilder) Tags

func (builder *FilterReqBuilder) Tags(tags []string) *FilterReqBuilder

func (*FilterReqBuilder) UpdatedAt

func (builder *FilterReqBuilder) UpdatedAt(updatedAt *TimeInterval) *FilterReqBuilder

func (*FilterReqBuilder) UserKeys

func (builder *FilterReqBuilder) UserKeys(userKeys []string) *FilterReqBuilder

func (*FilterReqBuilder) WorkItemIDs

func (builder *FilterReqBuilder) WorkItemIDs(workItemIDs []int64) *FilterReqBuilder

func (*FilterReqBuilder) WorkItemName

func (builder *FilterReqBuilder) WorkItemName(workItemName string) *FilterReqBuilder

func (*FilterReqBuilder) WorkItemStatus

func (builder *FilterReqBuilder) WorkItemStatus(workItemStatus []*WorkItemStatus) *FilterReqBuilder

func (*FilterReqBuilder) WorkItemTypeKeys

func (builder *FilterReqBuilder) WorkItemTypeKeys(workItemTypeKeys []string) *FilterReqBuilder

type FilterResp

type FilterResp struct {
	*core.APIResp `json:"-"`
	core.CodeError
	Data []*WorkItemInfo `json:"data"`

	Pagination *common.Pagination `json:"pagination"`
}

type GetMetaReq

type GetMetaReq struct {
	// contains filtered or unexported fields
}

type GetMetaReqBuilder

type GetMetaReqBuilder struct {
	// contains filtered or unexported fields
}

func NewGetMetaReqBuilder

func NewGetMetaReqBuilder() *GetMetaReqBuilder

func (*GetMetaReqBuilder) Build

func (builder *GetMetaReqBuilder) Build() *GetMetaReq

func (*GetMetaReqBuilder) ProjectKey

func (builder *GetMetaReqBuilder) ProjectKey(projectKey string) *GetMetaReqBuilder

func (*GetMetaReqBuilder) WorkItemTypeKey

func (builder *GetMetaReqBuilder) WorkItemTypeKey(workItemTypeKey string) *GetMetaReqBuilder

type GetMetaResp

type GetMetaResp struct {
	*core.APIResp `json:"-"`
	core.CodeError
	Data []*FieldConf `json:"data"`
}

type GetWorkItemManHourRecordsReq

type GetWorkItemManHourRecordsReq struct {
	// contains filtered or unexported fields
}

type GetWorkItemManHourRecordsReqBody

type GetWorkItemManHourRecordsReqBody struct {
	ProjectKey string `json:"project_key"`

	WorkItemTypeKey string `json:"work_item_type_key"`

	WorkItemID int64 `json:"work_item_id"`

	PageNum int64 `json:"page_num"`

	PageSize int64 `json:"page_size"`
}

type GetWorkItemManHourRecordsReqBuilder

type GetWorkItemManHourRecordsReqBuilder struct {
	// contains filtered or unexported fields
}

func NewGetWorkItemManHourRecordsReqBuilder

func NewGetWorkItemManHourRecordsReqBuilder() *GetWorkItemManHourRecordsReqBuilder

func (*GetWorkItemManHourRecordsReqBuilder) Build

func (*GetWorkItemManHourRecordsReqBuilder) PageNum

func (*GetWorkItemManHourRecordsReqBuilder) PageSize

func (*GetWorkItemManHourRecordsReqBuilder) ProjectKey

func (*GetWorkItemManHourRecordsReqBuilder) WorkItemID

func (*GetWorkItemManHourRecordsReqBuilder) WorkItemTypeKey

func (builder *GetWorkItemManHourRecordsReqBuilder) WorkItemTypeKey(workItemTypeKey string) *GetWorkItemManHourRecordsReqBuilder

type GetWorkItemManHourRecordsResp

type GetWorkItemManHourRecordsResp struct {
	*core.APIResp `json:"-"`
	core.CodeError
	Data []*ManHourRecord `json:"data"`

	Pagination *common.Pagination `json:"pagination"`
}

type GetWorkItemTypeInfoByKeyReq

type GetWorkItemTypeInfoByKeyReq struct {
	// contains filtered or unexported fields
}

type GetWorkItemTypeInfoByKeyReqBuilder

type GetWorkItemTypeInfoByKeyReqBuilder struct {
	// contains filtered or unexported fields
}

func NewGetWorkItemTypeInfoByKeyReqBuilder

func NewGetWorkItemTypeInfoByKeyReqBuilder() *GetWorkItemTypeInfoByKeyReqBuilder

func (*GetWorkItemTypeInfoByKeyReqBuilder) Build

func (*GetWorkItemTypeInfoByKeyReqBuilder) ProjectKey

func (*GetWorkItemTypeInfoByKeyReqBuilder) WorkItemTypeKey

func (builder *GetWorkItemTypeInfoByKeyReqBuilder) WorkItemTypeKey(workItemTypeKey string) *GetWorkItemTypeInfoByKeyReqBuilder

type GetWorkItemTypeInfoByKeyResp

type GetWorkItemTypeInfoByKeyResp struct {
	*core.APIResp `json:"-"`
	core.CodeError
	Data *WorkItemTypeInfo `json:"data"`
}

type InstanceDeliverableItem added in v1.0.8

type InstanceDeliverableItem struct {
	Name string `json:"name"`

	WorkItemID int64 `json:"work_item_id"`

	Deletable bool `json:"deletable"`

	MustComplete bool `json:"must_complete"`

	StateKey string `json:"state_key"`

	StateName string `json:"state_name"`

	Owners []string `json:"owners"`

	Remark string `json:"remark"`
}

type ManHourRecord

type ManHourRecord struct {
	ID int64 `json:"id"`

	RelatedWorkItemID int64 `json:"related_work_item_id"`

	RelatedWorkItemTypeKey string `json:"related_work_item_type_key"`

	RelatedWorkItemName string `json:"related_work_item_name"`

	ResourceType string `json:"resource_type"`

	ResourceID string `json:"resource_id"`

	WorkDescription string `json:"work_description"`

	WorkTime float64 `json:"work_time"`

	WorkUserKey string `json:"work_user_key"`

	CreatedAt int64 `json:"created_at"`

	UpdatedAt int64 `json:"updated_at"`

	ResourceName string `json:"resource_name"`

	WorkDate int64 `json:"work_date"`
}

type MultiText

type MultiText struct {
	FieldKey string `json:"field_key"`

	FieldValue *MultiTextDetail `json:"field_value"`
}

type MultiTextDetail

type MultiTextDetail struct {
	Doc string `json:"doc"`

	DocText string `json:"doc_text"`

	IsEmpty bool `json:"is_empty"`

	NotifyUserList []string `json:"notify_user_list"`

	NotifyUserType string `json:"notify_user_type"`

	DocHTML string `json:"doc_html"`
}

type NodeBasicInfo

type NodeBasicInfo struct {
	ID string `json:"id"`

	Name string `json:"name"`

	Owners []string `json:"owners"`

	Milestone bool `json:"milestone"`
}

type NodeOperateReq

type NodeOperateReq struct {
	// contains filtered or unexported fields
}

type NodeOperateReqBody

type NodeOperateReqBody struct {
	Action string `json:"action"`

	RollbackReason string `json:"rollback_reason"`

	NodeOwners []string `json:"node_owners"`

	NodeSchedule *Schedule `json:"node_schedule"`

	Schedules []*Schedule `json:"schedules"`

	Fields []*field.FieldValuePair `json:"fields"`

	RoleAssignee []*user.RoleOwner `json:"role_assignee"`
}

type NodeOperateReqBuilder

type NodeOperateReqBuilder struct {
	// contains filtered or unexported fields
}

func NewNodeOperateReqBuilder

func NewNodeOperateReqBuilder() *NodeOperateReqBuilder

func (*NodeOperateReqBuilder) Action

func (builder *NodeOperateReqBuilder) Action(action string) *NodeOperateReqBuilder

func (*NodeOperateReqBuilder) Build

func (builder *NodeOperateReqBuilder) Build() *NodeOperateReq

func (*NodeOperateReqBuilder) Fields

func (*NodeOperateReqBuilder) NodeID

func (builder *NodeOperateReqBuilder) NodeID(nodeID string) *NodeOperateReqBuilder

func (*NodeOperateReqBuilder) NodeOwners

func (builder *NodeOperateReqBuilder) NodeOwners(nodeOwners []string) *NodeOperateReqBuilder

func (*NodeOperateReqBuilder) NodeSchedule

func (builder *NodeOperateReqBuilder) NodeSchedule(nodeSchedule *Schedule) *NodeOperateReqBuilder

func (*NodeOperateReqBuilder) ProjectKey

func (builder *NodeOperateReqBuilder) ProjectKey(projectKey string) *NodeOperateReqBuilder

func (*NodeOperateReqBuilder) RoleAssignee

func (builder *NodeOperateReqBuilder) RoleAssignee(roleAssignee []*user.RoleOwner) *NodeOperateReqBuilder

func (*NodeOperateReqBuilder) RollbackReason

func (builder *NodeOperateReqBuilder) RollbackReason(rollbackReason string) *NodeOperateReqBuilder

func (*NodeOperateReqBuilder) Schedules

func (builder *NodeOperateReqBuilder) Schedules(schedules []*Schedule) *NodeOperateReqBuilder

func (*NodeOperateReqBuilder) WorkItemID

func (builder *NodeOperateReqBuilder) WorkItemID(workItemID int64) *NodeOperateReqBuilder

func (*NodeOperateReqBuilder) WorkItemTypeKey

func (builder *NodeOperateReqBuilder) WorkItemTypeKey(workItemTypeKey string) *NodeOperateReqBuilder

type NodeOperateResp

type NodeOperateResp struct {
	*core.APIResp `json:"-"`
	core.CodeError
}

type NodeStateChangeReq

type NodeStateChangeReq struct {
	// contains filtered or unexported fields
}

type NodeStateChangeReqBody

type NodeStateChangeReqBody struct {
	TransitionID int64 `json:"transition_id"`

	RoleOwners []*user.RoleOwner `json:"role_owners"`

	Fields []*field.FieldValuePair `json:"fields"`
}

type NodeStateChangeReqBuilder

type NodeStateChangeReqBuilder struct {
	// contains filtered or unexported fields
}

func NewNodeStateChangeReqBuilder

func NewNodeStateChangeReqBuilder() *NodeStateChangeReqBuilder

func (*NodeStateChangeReqBuilder) Build

func (*NodeStateChangeReqBuilder) Fields

func (*NodeStateChangeReqBuilder) ProjectKey

func (builder *NodeStateChangeReqBuilder) ProjectKey(projectKey string) *NodeStateChangeReqBuilder

func (*NodeStateChangeReqBuilder) RoleOwners

func (builder *NodeStateChangeReqBuilder) RoleOwners(roleOwners []*user.RoleOwner) *NodeStateChangeReqBuilder

func (*NodeStateChangeReqBuilder) TransitionID

func (builder *NodeStateChangeReqBuilder) TransitionID(transitionID int64) *NodeStateChangeReqBuilder

func (*NodeStateChangeReqBuilder) WorkItemID

func (builder *NodeStateChangeReqBuilder) WorkItemID(workItemID int64) *NodeStateChangeReqBuilder

func (*NodeStateChangeReqBuilder) WorkItemTypeKey

func (builder *NodeStateChangeReqBuilder) WorkItemTypeKey(workItemTypeKey string) *NodeStateChangeReqBuilder

type NodeStateChangeResp

type NodeStateChangeResp struct {
	*core.APIResp `json:"-"`
	core.CodeError
}

type NodeTask

type NodeTask struct {
	ID string `json:"id"`

	StateKey string `json:"state_key"`

	SubTasks []*SubTask `json:"sub_tasks"`
}

type NodeUpdateReq

type NodeUpdateReq struct {
	// contains filtered or unexported fields
}

type NodeUpdateReqBody

type NodeUpdateReqBody struct {
	NodeOwners []string `json:"node_owners"`

	NodeSchedule *Schedule `json:"node_schedule"`

	Schedules []*Schedule `json:"schedules"`

	Fields []*field.FieldValuePair `json:"fields"`

	RoleAssignee []*user.RoleOwner `json:"role_assignee"`
}

type NodeUpdateReqBuilder

type NodeUpdateReqBuilder struct {
	// contains filtered or unexported fields
}

func NewNodeUpdateReqBuilder

func NewNodeUpdateReqBuilder() *NodeUpdateReqBuilder

func (*NodeUpdateReqBuilder) Build

func (builder *NodeUpdateReqBuilder) Build() *NodeUpdateReq

func (*NodeUpdateReqBuilder) Fields

func (builder *NodeUpdateReqBuilder) Fields(fields []*field.FieldValuePair) *NodeUpdateReqBuilder

func (*NodeUpdateReqBuilder) NodeID

func (builder *NodeUpdateReqBuilder) NodeID(nodeID string) *NodeUpdateReqBuilder

func (*NodeUpdateReqBuilder) NodeOwners

func (builder *NodeUpdateReqBuilder) NodeOwners(nodeOwners []string) *NodeUpdateReqBuilder

func (*NodeUpdateReqBuilder) NodeSchedule

func (builder *NodeUpdateReqBuilder) NodeSchedule(nodeSchedule *Schedule) *NodeUpdateReqBuilder

func (*NodeUpdateReqBuilder) ProjectKey

func (builder *NodeUpdateReqBuilder) ProjectKey(projectKey string) *NodeUpdateReqBuilder

func (*NodeUpdateReqBuilder) RoleAssignee

func (builder *NodeUpdateReqBuilder) RoleAssignee(roleAssignee []*user.RoleOwner) *NodeUpdateReqBuilder

func (*NodeUpdateReqBuilder) Schedules

func (builder *NodeUpdateReqBuilder) Schedules(schedules []*Schedule) *NodeUpdateReqBuilder

func (*NodeUpdateReqBuilder) WorkItemID

func (builder *NodeUpdateReqBuilder) WorkItemID(workItemID int64) *NodeUpdateReqBuilder

func (*NodeUpdateReqBuilder) WorkItemTypeKey

func (builder *NodeUpdateReqBuilder) WorkItemTypeKey(workItemTypeKey string) *NodeUpdateReqBuilder

type NodeUpdateResp

type NodeUpdateResp struct {
	*core.APIResp `json:"-"`
	core.CodeError
}

type NodesConnections

type NodesConnections struct {
	WorkflowNodes []*WorkflowNode `json:"workflow_nodes"`

	Connections []*Connection `json:"connections"`

	StateFlowNodes []*StateFlowNode `json:"state_flow_nodes"`

	UserDetails []*common.UserDetail `json:"user_details"`
}

type OptionConf

type OptionConf struct {
	Label string `json:"label"`

	Value string `json:"value"`

	IsDisabled int32 `json:"is_disabled"`

	IsVisibility int32 `json:"is_visibility"`

	Children []*OptionConf `json:"children"`
}

type QueryWorkItemDetailReq

type QueryWorkItemDetailReq struct {
	// contains filtered or unexported fields
}

type QueryWorkItemDetailReqBody

type QueryWorkItemDetailReqBody struct {
	WorkItemIDs []int64 `json:"work_item_ids"`

	Fields []string `json:"fields"`

	Expand *Expand `json:"expand"`
}

type QueryWorkItemDetailReqBuilder

type QueryWorkItemDetailReqBuilder struct {
	// contains filtered or unexported fields
}

func NewQueryWorkItemDetailReqBuilder

func NewQueryWorkItemDetailReqBuilder() *QueryWorkItemDetailReqBuilder

func (*QueryWorkItemDetailReqBuilder) Build

func (*QueryWorkItemDetailReqBuilder) Expand

func (*QueryWorkItemDetailReqBuilder) Fields

func (*QueryWorkItemDetailReqBuilder) ProjectKey

func (builder *QueryWorkItemDetailReqBuilder) ProjectKey(projectKey string) *QueryWorkItemDetailReqBuilder

func (*QueryWorkItemDetailReqBuilder) WorkItemIDs

func (builder *QueryWorkItemDetailReqBuilder) WorkItemIDs(workItemIDs []int64) *QueryWorkItemDetailReqBuilder

func (*QueryWorkItemDetailReqBuilder) WorkItemTypeKey

func (builder *QueryWorkItemDetailReqBuilder) WorkItemTypeKey(workItemTypeKey string) *QueryWorkItemDetailReqBuilder

type QueryWorkItemDetailResp

type QueryWorkItemDetailResp struct {
	*core.APIResp `json:"-"`
	core.CodeError
	Data []*WorkItemInfo `json:"data"`
}

type QueryWorkItemRelationReq

type QueryWorkItemRelationReq struct {
	// contains filtered or unexported fields
}

type QueryWorkItemRelationReqBuilder

type QueryWorkItemRelationReqBuilder struct {
	// contains filtered or unexported fields
}

func NewQueryWorkItemRelationReqBuilder

func NewQueryWorkItemRelationReqBuilder() *QueryWorkItemRelationReqBuilder

func (*QueryWorkItemRelationReqBuilder) Build

func (*QueryWorkItemRelationReqBuilder) ProjectKey

type QueryWorkItemRelationResp

type QueryWorkItemRelationResp struct {
	*core.APIResp `json:"-"`
	core.CodeError
	Data []*WorkItemRelation `json:"data"`
}

type QueryWorkflowReq

type QueryWorkflowReq struct {
	// contains filtered or unexported fields
}

type QueryWorkflowReqBody

type QueryWorkflowReqBody struct {
	Fields []string `json:"fields"`

	FlowType int64 `json:"flow_type"`

	Expand *Expand `json:"expand"`
}

type QueryWorkflowReqBuilder

type QueryWorkflowReqBuilder struct {
	// contains filtered or unexported fields
}

func NewQueryWorkflowReqBuilder

func NewQueryWorkflowReqBuilder() *QueryWorkflowReqBuilder

func (*QueryWorkflowReqBuilder) Build

func (builder *QueryWorkflowReqBuilder) Build() *QueryWorkflowReq

func (*QueryWorkflowReqBuilder) Expand

func (builder *QueryWorkflowReqBuilder) Expand(expand *Expand) *QueryWorkflowReqBuilder

func (*QueryWorkflowReqBuilder) Fields

func (builder *QueryWorkflowReqBuilder) Fields(fields []string) *QueryWorkflowReqBuilder

func (*QueryWorkflowReqBuilder) FlowType

func (builder *QueryWorkflowReqBuilder) FlowType(flowType int64) *QueryWorkflowReqBuilder

func (*QueryWorkflowReqBuilder) ProjectKey

func (builder *QueryWorkflowReqBuilder) ProjectKey(projectKey string) *QueryWorkflowReqBuilder

func (*QueryWorkflowReqBuilder) WorkItemID

func (builder *QueryWorkflowReqBuilder) WorkItemID(workItemID int64) *QueryWorkflowReqBuilder

func (*QueryWorkflowReqBuilder) WorkItemTypeKey

func (builder *QueryWorkflowReqBuilder) WorkItemTypeKey(workItemTypeKey string) *QueryWorkflowReqBuilder

type QueryWorkflowResp

type QueryWorkflowResp struct {
	*core.APIResp `json:"-"`
	core.CodeError
	Data *NodesConnections `json:"data"`
}

type RelationDetail

type RelationDetail struct {
	WorkItemTypeKey string `json:"work_item_type_key"`

	WorkItemTypeName string `json:"work_item_type_name"`

	ProjectKey string `json:"project_key"`

	ProjectName string `json:"project_name"`
}

type RelationFieldDetail

type RelationFieldDetail struct {
	FieldKey string `json:"field_key"`

	Detail []*FieldDetail `json:"detail"`
}

type Schedule

type Schedule struct {
	Points *float64 `json:"points,omitempty"`

	EstimateStartDate *int64 `json:"estimate_start_date,omitempty"`

	EstimateEndDate *int64 `json:"estimate_end_date,omitempty"`

	Owners []string `json:"owners"`

	ActualWorkTime *float64 `json:"actual_work_time,omitempty"`

	IsAuto *bool `json:"is_auto,omitempty"`
}

type SearchByParamsReq

type SearchByParamsReq struct {
	// contains filtered or unexported fields
}

type SearchByParamsReqBody

type SearchByParamsReqBody struct {
	SearchGroup *SearchGroup `json:"search_group"`

	PageNum int64 `json:"page_num"`

	PageSize int64 `json:"page_size"`

	Fields []string `json:"fields"`

	Expand *Expand `json:"expand"`
}

type SearchByParamsReqBuilder

type SearchByParamsReqBuilder struct {
	// contains filtered or unexported fields
}

func NewSearchByParamsReqBuilder

func NewSearchByParamsReqBuilder() *SearchByParamsReqBuilder

func (*SearchByParamsReqBuilder) Build

func (builder *SearchByParamsReqBuilder) Build() *SearchByParamsReq

func (*SearchByParamsReqBuilder) Expand

func (builder *SearchByParamsReqBuilder) Expand(expand *Expand) *SearchByParamsReqBuilder

func (*SearchByParamsReqBuilder) Fields

func (builder *SearchByParamsReqBuilder) Fields(fields []string) *SearchByParamsReqBuilder

func (*SearchByParamsReqBuilder) PageNum

func (builder *SearchByParamsReqBuilder) PageNum(pageNum int64) *SearchByParamsReqBuilder

func (*SearchByParamsReqBuilder) PageSize

func (builder *SearchByParamsReqBuilder) PageSize(pageSize int64) *SearchByParamsReqBuilder

func (*SearchByParamsReqBuilder) ProjectKey

func (builder *SearchByParamsReqBuilder) ProjectKey(projectKey string) *SearchByParamsReqBuilder

func (*SearchByParamsReqBuilder) SearchGroup

func (builder *SearchByParamsReqBuilder) SearchGroup(searchGroup *SearchGroup) *SearchByParamsReqBuilder

func (*SearchByParamsReqBuilder) WorkItemTypeKey

func (builder *SearchByParamsReqBuilder) WorkItemTypeKey(workItemTypeKey string) *SearchByParamsReqBuilder

type SearchByParamsResp

type SearchByParamsResp struct {
	*core.APIResp `json:"-"`
	core.CodeError
	Data []*WorkItemInfo `json:"data"`

	Pagination *common.Pagination `json:"pagination"`
}

type SearchByRelationReq

type SearchByRelationReq struct {
	// contains filtered or unexported fields
}

type SearchByRelationReqBody

type SearchByRelationReqBody struct {
	RelationWorkItemTypeKey string `json:"relation_work_item_type_key"`

	RelationKey string `json:"relation_key"`

	PageNum int64 `json:"page_num"`

	PageSize int64 `json:"page_size"`

	RelationType int32 `json:"relation_type"`

	Expand *Expand `json:"expand"`
}

type SearchByRelationReqBuilder

type SearchByRelationReqBuilder struct {
	// contains filtered or unexported fields
}

func NewSearchByRelationReqBuilder

func NewSearchByRelationReqBuilder() *SearchByRelationReqBuilder

func (*SearchByRelationReqBuilder) Build

func (*SearchByRelationReqBuilder) Expand

func (*SearchByRelationReqBuilder) PageNum

func (builder *SearchByRelationReqBuilder) PageNum(pageNum int64) *SearchByRelationReqBuilder

func (*SearchByRelationReqBuilder) PageSize

func (builder *SearchByRelationReqBuilder) PageSize(pageSize int64) *SearchByRelationReqBuilder

func (*SearchByRelationReqBuilder) ProjectKey

func (builder *SearchByRelationReqBuilder) ProjectKey(projectKey string) *SearchByRelationReqBuilder

func (*SearchByRelationReqBuilder) RelationKey

func (builder *SearchByRelationReqBuilder) RelationKey(relationKey string) *SearchByRelationReqBuilder

func (*SearchByRelationReqBuilder) RelationType

func (builder *SearchByRelationReqBuilder) RelationType(relationType int32) *SearchByRelationReqBuilder

func (*SearchByRelationReqBuilder) RelationWorkItemTypeKey

func (builder *SearchByRelationReqBuilder) RelationWorkItemTypeKey(relationWorkItemTypeKey string) *SearchByRelationReqBuilder

func (*SearchByRelationReqBuilder) WorkItemID

func (builder *SearchByRelationReqBuilder) WorkItemID(workItemID int64) *SearchByRelationReqBuilder

func (*SearchByRelationReqBuilder) WorkItemTypeKey

func (builder *SearchByRelationReqBuilder) WorkItemTypeKey(workItemTypeKey string) *SearchByRelationReqBuilder

type SearchByRelationResp

type SearchByRelationResp struct {
	*core.APIResp `json:"-"`
	core.CodeError
	Data []*WorkItemInfo `json:"data"`

	Pagination *common.Pagination `json:"pagination"`
}

type SearchGroup

type SearchGroup struct {
	SearchParams []*SearchParam `json:"search_params"`

	Conjunction string `json:"conjunction"`

	SearchGroups []*SearchGroup `json:"search_groups"`
}

type SearchParam

type SearchParam struct {
	ParamKey string `json:"param_key"`

	Value interface{} `json:"value"`

	Operator string `json:"operator"`
}

type SearchUser

type SearchUser struct {
	UserKeys []string `json:"user_keys"`

	FieldKey string `json:"field_key"`

	Role string `json:"role"`
}

type StateFlowNode

type StateFlowNode struct {
	ID string `json:"id"`

	Name string `json:"name"`

	RoleOwners []*user.RoleOwner `json:"role_owners"`

	Status int32 `json:"status"`

	ActualBeginTime string `json:"actual_begin_time"`

	ActualFinishTime string `json:"actual_finish_time"`

	Fields []*field.FieldValuePair `json:"fields"`
}

type StateTime

type StateTime struct {
	StateKey string `json:"state_key"`

	StartTime int64 `json:"start_time"`

	EndTime int64 `json:"end_time"`

	Name string `json:"name"`
}

type SubTask

type SubTask struct {
	ID string `json:"id"`

	Name string `json:"name"`

	Schedules []*Schedule `json:"schedules"`

	Order float64 `json:"order"`

	Details string `json:"details"`

	Passed bool `json:"passed"`

	Owners []string `json:"owners"`

	Note string `json:"note"`

	ActualBeginTime string `json:"actual_begin_time"`

	ActualFinishTime string `json:"actual_finish_time"`

	Assignee []string `json:"assignee"`

	RoleAssignee []*user.RoleOwner `json:"role_assignee"`

	Deliverable []*field.FieldValuePair `json:"deliverable"`
}

type SubTaskParentInfo

type SubTaskParentInfo struct {
	WorkItemID int64 `json:"work_item_id"`

	WorkItemName string `json:"work_item_name"`

	WorkItemTypeKey string `json:"work_item_type_key"`

	NodeID string `json:"node_id"`
}

type TimeInterval

type TimeInterval struct {
	Start int64 `json:"start"`

	End int64 `json:"end"`
}

type UnionDeliverable added in v1.0.8

type UnionDeliverable struct {
	FieldDeliverables []FieldDeliverableItem `json:"field_deliverables"`

	InstanceDeliverables []InstanceDeliverableItem `json:"instance_deliverables"`
}

type UpdateMultiSignalReq

type UpdateMultiSignalReq struct {
	// contains filtered or unexported fields
}

type UpdateMultiSignalReqBody

type UpdateMultiSignalReqBody struct {
	FieldKey string `json:"field_key"`

	FieldAlias string `json:"field_alias"`

	Details []*field.MultiSignalDetail `json:"details"`

	UpdateType string `json:"update_type"`
}

type UpdateMultiSignalReqBuilder

type UpdateMultiSignalReqBuilder struct {
	// contains filtered or unexported fields
}

func NewUpdateMultiSignalReqBuilder

func NewUpdateMultiSignalReqBuilder() *UpdateMultiSignalReqBuilder

func (*UpdateMultiSignalReqBuilder) Build

func (*UpdateMultiSignalReqBuilder) Details

func (*UpdateMultiSignalReqBuilder) FieldAlias

func (builder *UpdateMultiSignalReqBuilder) FieldAlias(fieldAlias string) *UpdateMultiSignalReqBuilder

func (*UpdateMultiSignalReqBuilder) FieldKey

func (builder *UpdateMultiSignalReqBuilder) FieldKey(fieldKey string) *UpdateMultiSignalReqBuilder

func (*UpdateMultiSignalReqBuilder) ProjectKey

func (builder *UpdateMultiSignalReqBuilder) ProjectKey(projectKey string) *UpdateMultiSignalReqBuilder

func (*UpdateMultiSignalReqBuilder) UpdateType

func (builder *UpdateMultiSignalReqBuilder) UpdateType(updateType string) *UpdateMultiSignalReqBuilder

func (*UpdateMultiSignalReqBuilder) WorkItemID

func (builder *UpdateMultiSignalReqBuilder) WorkItemID(workItemID int64) *UpdateMultiSignalReqBuilder

func (*UpdateMultiSignalReqBuilder) WorkItemTypeKey

func (builder *UpdateMultiSignalReqBuilder) WorkItemTypeKey(workItemTypeKey string) *UpdateMultiSignalReqBuilder

type UpdateMultiSignalResp

type UpdateMultiSignalResp struct {
	*core.APIResp `json:"-"`
	core.CodeError
	Data *field.MultiSignal `json:"data"`
}

type UpdateWorkItemRelationReq

type UpdateWorkItemRelationReq struct {
	// contains filtered or unexported fields
}

type UpdateWorkItemRelationReqBody

type UpdateWorkItemRelationReqBody struct {
	RelationID string `json:"relation_id"`

	ProjectKey string `json:"project_key"`

	WorkItemTypeKey string `json:"work_item_type_key"`

	Name string `json:"name"`

	RelationDetails []*RelationDetail `json:"relation_details"`
}

type UpdateWorkItemRelationReqBuilder

type UpdateWorkItemRelationReqBuilder struct {
	// contains filtered or unexported fields
}

func NewUpdateWorkItemRelationReqBuilder

func NewUpdateWorkItemRelationReqBuilder() *UpdateWorkItemRelationReqBuilder

func (*UpdateWorkItemRelationReqBuilder) Build

func (*UpdateWorkItemRelationReqBuilder) Name

func (*UpdateWorkItemRelationReqBuilder) ProjectKey

func (*UpdateWorkItemRelationReqBuilder) RelationDetails

func (builder *UpdateWorkItemRelationReqBuilder) RelationDetails(relationDetails []*RelationDetail) *UpdateWorkItemRelationReqBuilder

func (*UpdateWorkItemRelationReqBuilder) RelationID

func (*UpdateWorkItemRelationReqBuilder) WorkItemTypeKey

func (builder *UpdateWorkItemRelationReqBuilder) WorkItemTypeKey(workItemTypeKey string) *UpdateWorkItemRelationReqBuilder

type UpdateWorkItemRelationResp

type UpdateWorkItemRelationResp struct {
	*core.APIResp `json:"-"`
	core.CodeError
	Data string `json:"data"`
}

type UpdateWorkItemReq

type UpdateWorkItemReq struct {
	// contains filtered or unexported fields
}

type UpdateWorkItemReqBody

type UpdateWorkItemReqBody struct {
	UpdateFields []*field.FieldValuePair `json:"update_fields"`
}

type UpdateWorkItemReqBuilder

type UpdateWorkItemReqBuilder struct {
	// contains filtered or unexported fields
}

func NewUpdateWorkItemReqBuilder

func NewUpdateWorkItemReqBuilder() *UpdateWorkItemReqBuilder

func (*UpdateWorkItemReqBuilder) Build

func (builder *UpdateWorkItemReqBuilder) Build() *UpdateWorkItemReq

func (*UpdateWorkItemReqBuilder) ProjectKey

func (builder *UpdateWorkItemReqBuilder) ProjectKey(projectKey string) *UpdateWorkItemReqBuilder

func (*UpdateWorkItemReqBuilder) UpdateFields

func (builder *UpdateWorkItemReqBuilder) UpdateFields(updateFields []*field.FieldValuePair) *UpdateWorkItemReqBuilder

func (*UpdateWorkItemReqBuilder) WorkItemID

func (builder *UpdateWorkItemReqBuilder) WorkItemID(workItemID int64) *UpdateWorkItemReqBuilder

func (*UpdateWorkItemReqBuilder) WorkItemTypeKey

func (builder *UpdateWorkItemReqBuilder) WorkItemTypeKey(workItemTypeKey string) *UpdateWorkItemReqBuilder

type UpdateWorkItemResp

type UpdateWorkItemResp struct {
	*core.APIResp `json:"-"`
	core.CodeError
}

type UpdateWorkItemTypeInfoReq

type UpdateWorkItemTypeInfoReq struct {
	// contains filtered or unexported fields
}

type UpdateWorkItemTypeInfoReqBody

type UpdateWorkItemTypeInfoReqBody struct {
	Description string `json:"description"`

	IsDisabled *bool `json:"is_disabled,omitempty"`

	IsPinned *bool `json:"is_pinned,omitempty"`

	EnableSchedule *bool `json:"enable_schedule,omitempty"`

	ScheduleFieldKey string `json:"schedule_field_key"`

	EstimatePointFieldKey string `json:"estimate_point_field_key"`

	ActualWorkTimeFieldKey string `json:"actual_work_time_field_key"`

	BelongRoleKeys []string `json:"belong_role_keys"`

	ActualWorkTimeSwitch *bool `json:"actual_work_time_switch,omitempty"`
}

type UpdateWorkItemTypeInfoReqBuilder

type UpdateWorkItemTypeInfoReqBuilder struct {
	// contains filtered or unexported fields
}

func NewUpdateWorkItemTypeInfoReqBuilder

func NewUpdateWorkItemTypeInfoReqBuilder() *UpdateWorkItemTypeInfoReqBuilder

func (*UpdateWorkItemTypeInfoReqBuilder) ActualWorkTimeFieldKey

func (builder *UpdateWorkItemTypeInfoReqBuilder) ActualWorkTimeFieldKey(actualWorkTimeFieldKey string) *UpdateWorkItemTypeInfoReqBuilder

func (*UpdateWorkItemTypeInfoReqBuilder) ActualWorkTimeSwitch

func (builder *UpdateWorkItemTypeInfoReqBuilder) ActualWorkTimeSwitch(actualWorkTimeSwitch bool) *UpdateWorkItemTypeInfoReqBuilder

func (*UpdateWorkItemTypeInfoReqBuilder) BelongRoleKeys

func (builder *UpdateWorkItemTypeInfoReqBuilder) BelongRoleKeys(belongRoleKeys []string) *UpdateWorkItemTypeInfoReqBuilder

func (*UpdateWorkItemTypeInfoReqBuilder) Build

func (*UpdateWorkItemTypeInfoReqBuilder) Description

func (*UpdateWorkItemTypeInfoReqBuilder) EnableSchedule

func (builder *UpdateWorkItemTypeInfoReqBuilder) EnableSchedule(enableSchedule bool) *UpdateWorkItemTypeInfoReqBuilder

func (*UpdateWorkItemTypeInfoReqBuilder) EstimatePointFieldKey

func (builder *UpdateWorkItemTypeInfoReqBuilder) EstimatePointFieldKey(estimatePointFieldKey string) *UpdateWorkItemTypeInfoReqBuilder

func (*UpdateWorkItemTypeInfoReqBuilder) IsDisabled

func (*UpdateWorkItemTypeInfoReqBuilder) IsPinned

func (*UpdateWorkItemTypeInfoReqBuilder) ProjectKey

func (*UpdateWorkItemTypeInfoReqBuilder) ScheduleFieldKey

func (builder *UpdateWorkItemTypeInfoReqBuilder) ScheduleFieldKey(scheduleFieldKey string) *UpdateWorkItemTypeInfoReqBuilder

func (*UpdateWorkItemTypeInfoReqBuilder) WorkItemTypeKey

func (builder *UpdateWorkItemTypeInfoReqBuilder) WorkItemTypeKey(workItemTypeKey string) *UpdateWorkItemTypeInfoReqBuilder

type UpdateWorkItemTypeInfoResp

type UpdateWorkItemTypeInfoResp struct {
	*core.APIResp `json:"-"`
	core.CodeError
}

type UpdateWorkingHourRecord

type UpdateWorkingHourRecord struct {
	ID int64 `json:"id"`

	WorkTime string `json:"work_time"`

	WorkDescription string `json:"work_description"`
}

type UpdateWorkingHourRecordReq

type UpdateWorkingHourRecordReq struct {
	// contains filtered or unexported fields
}

type UpdateWorkingHourRecordReqBody

type UpdateWorkingHourRecordReqBody struct {
	WorkingHourRecords []*UpdateWorkingHourRecord `json:"working_hour_records"`
}

type UpdateWorkingHourRecordReqBuilder

type UpdateWorkingHourRecordReqBuilder struct {
	// contains filtered or unexported fields
}

func NewUpdateWorkingHourRecordReqBuilder

func NewUpdateWorkingHourRecordReqBuilder() *UpdateWorkingHourRecordReqBuilder

func (*UpdateWorkingHourRecordReqBuilder) Build

func (*UpdateWorkingHourRecordReqBuilder) ProjectKey

func (*UpdateWorkingHourRecordReqBuilder) WorkItemID

func (*UpdateWorkingHourRecordReqBuilder) WorkItemTypeKey

func (builder *UpdateWorkingHourRecordReqBuilder) WorkItemTypeKey(workItemTypeKey string) *UpdateWorkingHourRecordReqBuilder

func (*UpdateWorkingHourRecordReqBuilder) WorkingHourRecords

func (builder *UpdateWorkingHourRecordReqBuilder) WorkingHourRecords(workingHourRecords []*UpdateWorkingHourRecord) *UpdateWorkingHourRecordReqBuilder

type UpdateWorkingHourRecordResp

type UpdateWorkingHourRecordResp struct {
	*core.APIResp `json:"-"`
	core.CodeError
}

type WBSParentWorkItem

type WBSParentWorkItem struct {
	IsTop bool `json:"is_top"`

	WorkItemID int64 `json:"work_item_id"`

	WorkItemTypeKey string `json:"work_item_type_key"`

	Name string `json:"name"`

	TemplateID string `json:"template_id"`

	TemplateKey string `json:"template_key"`

	TemplateName string `json:"template_name"`

	TemplateVersion int64 `json:"template_version"`

	RelationNodeID string `json:"relation_node_id"`

	RelationNodeName string `json:"relation_node_name"`

	RelationNodeTags []string `json:"relation_node_tags"`

	RelationNodeUUID string `json:"relation_node_uuid"`
}

type WBSWorkItem

type WBSWorkItem struct {
	NodeUUID string `json:"node_uuid"`

	WorkItemID int64 `json:"work_item_id"`

	Type string `json:"type"`

	WbsStatus string `json:"wbs_status"`

	WbsStatusMap map[string]string `json:"wbs_status_map"`

	SubWorkItem []*WBSWorkItem `json:"sub_work_item"`

	Name string `json:"name"`

	Deliverable []*field.FieldValuePair `json:"deliverable"`

	Schedule *Schedule `json:"schedule"`

	Schedules []*Schedule `json:"schedules"`

	Points float64 `json:"points"`

	RoleOwners []*user.RoleOwner `json:"role_owners"`

	WorkItemTypeKey string `json:"work_item_type_key"`

	Milestone bool `json:"milestone"`

	UnionDeliverable UnionDeliverable `json:"union_deliverable"`
}

type WbsViewReq

type WbsViewReq struct {
	// contains filtered or unexported fields
}

type WbsViewReqBody

type WbsViewReqBody struct {
	Expand *Expand `json:"expand"`
}

type WbsViewReqBuilder

type WbsViewReqBuilder struct {
	// contains filtered or unexported fields
}

func NewWbsViewReqBuilder

func NewWbsViewReqBuilder() *WbsViewReqBuilder

func (*WbsViewReqBuilder) Build

func (builder *WbsViewReqBuilder) Build() *WbsViewReq

func (*WbsViewReqBuilder) Expand

func (builder *WbsViewReqBuilder) Expand(expand *Expand) *WbsViewReqBuilder

func (*WbsViewReqBuilder) ProjectKey

func (builder *WbsViewReqBuilder) ProjectKey(projectKey string) *WbsViewReqBuilder

func (*WbsViewReqBuilder) WorkItemID

func (builder *WbsViewReqBuilder) WorkItemID(workItemID int64) *WbsViewReqBuilder

func (*WbsViewReqBuilder) WorkItemTypeKey

func (builder *WbsViewReqBuilder) WorkItemTypeKey(workItemTypeKey string) *WbsViewReqBuilder

type WbsViewResp

type WbsViewResp struct {
	*core.APIResp `json:"-"`
	core.CodeError
	Data *WbsViewResponse `json:"data"`
}

type WbsViewResponse

type WbsViewResponse struct {
	TemplateKey string `json:"template_key"`

	RelatedSubWorkItems []*WBSWorkItem `json:"related_sub_work_items"`

	TemplateVersion int64 `json:"template_version"`

	TemplateName string `json:"template_name"`

	TemplateID string `json:"template_id"`

	RelatedParentWorkItem *WBSParentWorkItem `json:"related_parent_work_item"`

	UserDetails []*common.UserDetail `json:"user_details"`
}

type WorkItemInfo

type WorkItemInfo struct {
	ID int64 `json:"id"`

	Name string `json:"name"`

	WorkItemTypeKey string `json:"work_item_type_key"`

	ProjectKey string `json:"project_key"`

	TemplateType string `json:"template_type"`

	Pattern string `json:"pattern"`

	SubStage string `json:"sub_stage"`

	CurrentNodes []*NodeBasicInfo `json:"current_nodes"`

	CreatedBy string `json:"created_by"`

	UpdatedBy string `json:"updated_by"`

	CreatedAt int64 `json:"created_at"`

	UpdatedAt int64 `json:"updated_at"`

	Fields []*field.FieldValuePair `json:"fields"`

	WorkItemStatus *WorkItemStatus `json:"work_item_status"`

	DeletedBy string `json:"deleted_by"`

	DeletedAt int64 `json:"deleted_at"`

	SimpleName string `json:"simple_name"`

	TemplateID int64 `json:"template_id"`

	WorkflowInfos *NodesConnections `json:"workflow_infos"`

	StateTimes []*StateTime `json:"state_times"`

	MultiTexts []*MultiText `json:"multi_texts"`

	CompoundFieldExtra []*field.FieldValuePair `json:"compound_field_extra"`

	RelationFieldsDetail []*RelationFieldDetail `json:"relation_fields_detail"`

	UserDetails []*common.UserDetail `json:"user_details"`

	SubTaskParentInfo *SubTaskParentInfo `json:"sub_task_parent_info"`
}

type WorkItemKeyType

type WorkItemKeyType struct {
	TypeKey string `json:"type_key"`

	Name string `json:"name"`

	IsDisable int32 `json:"is_disable"`

	APIName string `json:"api_name"`
}

type WorkItemRelation

type WorkItemRelation struct {
	ID string `json:"id"`

	Name string `json:"name"`

	Disabled bool `json:"disabled"`

	WorkItemTypeKey string `json:"work_item_type_key"`

	WorkItemTypeName string `json:"work_item_type_name"`

	RelationDetails []*RelationDetail `json:"relation_details"`

	RelationType int64 `json:"relation_type"`
}

type WorkItemService

type WorkItemService struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(config *core.Config) *WorkItemService

func (*WorkItemService) AbortWorkItem

func (a *WorkItemService) AbortWorkItem(ctx context.Context, req *AbortWorkItemReq, options ...core.RequestOptionFunc) (*AbortWorkItemResp, error)

终止/恢复工作项

func (*WorkItemService) CompositiveSearch

func (a *WorkItemService) CompositiveSearch(ctx context.Context, req *CompositiveSearchReq, options ...core.RequestOptionFunc) (*CompositiveSearchResp, error)

获取指定的工作项列表(全文搜索)

func (*WorkItemService) CreateWorkItem

func (a *WorkItemService) CreateWorkItem(ctx context.Context, req *CreateWorkItemReq, options ...core.RequestOptionFunc) (*CreateWorkItemResp, error)

创建工作项

func (*WorkItemService) CreateWorkItemRelation

创建工作项关系

func (*WorkItemService) CreateWorkingHourRecord

创建实际工时

func (*WorkItemService) DeleteWorkItem

func (a *WorkItemService) DeleteWorkItem(ctx context.Context, req *DeleteWorkItemReq, options ...core.RequestOptionFunc) (*DeleteWorkItemResp, error)

删除工作项

func (*WorkItemService) DeleteWorkItemRelation

删除工作项关系

func (*WorkItemService) DeleteWorkingHourRecord

删除实际工时

func (*WorkItemService) Filter

func (a *WorkItemService) Filter(ctx context.Context, req *FilterReq, options ...core.RequestOptionFunc) (*FilterResp, error)

获取指定的工作项列表(非跨空间)

func (*WorkItemService) FilterAcrossProject

获取指定的工作项列表(跨空间)

func (*WorkItemService) GetMeta

func (a *WorkItemService) GetMeta(ctx context.Context, req *GetMetaReq, options ...core.RequestOptionFunc) (*GetMetaResp, error)

获取创建工作项元数据

func (*WorkItemService) GetWorkItemManHourRecords

获取工作项的工时记录列表

func (*WorkItemService) GetWorkItemTypeInfoByKey

获取工作项基础信息配置

func (*WorkItemService) NodeOperate

func (a *WorkItemService) NodeOperate(ctx context.Context, req *NodeOperateReq, options ...core.RequestOptionFunc) (*NodeOperateResp, error)

节点完成/回滚

func (*WorkItemService) NodeStateChange

func (a *WorkItemService) NodeStateChange(ctx context.Context, req *NodeStateChangeReq, options ...core.RequestOptionFunc) (*NodeStateChangeResp, error)

状态流转

func (*WorkItemService) NodeUpdate

func (a *WorkItemService) NodeUpdate(ctx context.Context, req *NodeUpdateReq, options ...core.RequestOptionFunc) (*NodeUpdateResp, error)

更新节点/排期

func (*WorkItemService) QueryWorkItemDetail

获取工作项详情

func (*WorkItemService) QueryWorkItemRelation

获取工作项关系列表

func (*WorkItemService) QueryWorkflow

func (a *WorkItemService) QueryWorkflow(ctx context.Context, req *QueryWorkflowReq, options ...core.RequestOptionFunc) (*QueryWorkflowResp, error)

获取工作流详情

func (*WorkItemService) SearchByParams

func (a *WorkItemService) SearchByParams(ctx context.Context, req *SearchByParamsReq, options ...core.RequestOptionFunc) (*SearchByParamsResp, error)

获取指定的工作项列表(单空间 | 复杂传参)

func (*WorkItemService) SearchByRelation

func (a *WorkItemService) SearchByRelation(ctx context.Context, req *SearchByRelationReq, options ...core.RequestOptionFunc) (*SearchByRelationResp, error)

获取指定的关联工作项列表(单空间)

func (*WorkItemService) UpdateMultiSignal

func (a *WorkItemService) UpdateMultiSignal(ctx context.Context, req *UpdateMultiSignalReq, options ...core.RequestOptionFunc) (*UpdateMultiSignalResp, error)

更新多值系统外信号

func (*WorkItemService) UpdateWorkItem

func (a *WorkItemService) UpdateWorkItem(ctx context.Context, req *UpdateWorkItemReq, options ...core.RequestOptionFunc) (*UpdateWorkItemResp, error)

更新工作项

func (*WorkItemService) UpdateWorkItemRelation

更新工作项关系

func (*WorkItemService) UpdateWorkItemTypeInfo

更新工作项基础信息配置

func (*WorkItemService) UpdateWorkingHourRecord

更新实际工时

func (*WorkItemService) WbsView

func (a *WorkItemService) WbsView(ctx context.Context, req *WbsViewReq, options ...core.RequestOptionFunc) (*WbsViewResp, error)

获取工作流详情(wbs)

type WorkItemStatus

type WorkItemStatus struct {
	StateKey string `json:"state_key"`

	IsArchivedState bool `json:"is_archived_state"`

	IsInitState bool `json:"is_init_state"`

	UpdatedAt int64 `json:"updated_at"`

	UpdatedBy string `json:"updated_by"`

	History []*WorkItemStatus `json:"history"`
}

type WorkItemTypeInfo

type WorkItemTypeInfo struct {
	TypeKey string `json:"type_key"`

	Name string `json:"name"`

	FlowMode string `json:"flow_mode"`

	APIName string `json:"api_name"`

	Description string `json:"description"`

	IsDisabled bool `json:"is_disabled"`

	IsPinned bool `json:"is_pinned"`

	EnableSchedule bool `json:"enable_schedule"`

	ScheduleFieldKey string `json:"schedule_field_key"`

	ScheduleFieldName string `json:"schedule_field_name"`

	EstimatePointFieldKey string `json:"estimate_point_field_key"`

	EstimatePointFieldName string `json:"estimate_point_field_name"`

	ActualWorkTimeFieldKey string `json:"actual_work_time_field_key"`

	ActualWorkTimeFieldName string `json:"actual_work_time_field_name"`

	BelongRoles []*role_conf.SimpleRoleConf `json:"belong_roles"`
}

type WorkflowNode

type WorkflowNode struct {
	ID string `json:"id"`

	StateKey string `json:"state_key"`

	Name string `json:"name"`

	Status int32 `json:"status"`

	Fields []*field.FieldValuePair `json:"fields"`

	Owners []string `json:"owners"`

	NodeSchedule *Schedule `json:"node_schedule"`

	Schedules []*Schedule `json:"schedules"`

	SubTasks []*SubTask `json:"sub_tasks"`

	ActualBeginTime string `json:"actual_begin_time"`

	ActualFinishTime string `json:"actual_finish_time"`

	RoleAssignee []*user.RoleOwner `json:"role_assignee"`

	DifferentSchedule bool `json:"different_schedule"`

	SubStatus []*Checker `json:"sub_status"`

	Milestone bool `json:"milestone"`

	Participants []string `json:"participants"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL