youtrackapi

package module
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2026 License: MIT Imports: 12 Imported by: 0

README

go-youtrackapi

A generated Go client for the YouTrack REST API.

Usage

import "github.com/arjenjb/go-youtrackapi"

client := youtrackapi.NewClient("https://example.youtrack.cloud/api", []byte("permanent-token"))

projects, err := client.ListProjects(ctx, youtrackapi.ListProjectsRequest{
	Fields: "id,name,shortName",
})

For OAuth or another authentication transport, use NewClientWithHTTPClient and supply an http.Client that adds credentials to requests.

Regenerating

The repository includes the YouTrack 2026.2 OpenAPI document and semantic overrides used by the generator. Run:

go generate ./internal/codegen

The generated models and client methods are committed so consumers do not need the generator.

Documentation

Overview

Package youtrackapi provides a generated client and models for the YouTrack REST API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessScope

type AccessScope interface {
}

type ActivityCategory

type ActivityCategory struct {
	Id *string
}

type ActivityCursorPage

type ActivityCursorPage struct {
	Activities   []ActivityItem
	AfterCursor  *string
	BeforeCursor *string
	HasAfter     *bool
	HasBefore    *bool
	Id           *string
	Reverse      *bool
}

type ActivityItem

type ActivityItem interface {
}

type Agile

type Agile struct {
	ColorCoding              ColorCoding
	ColumnSettings           *ColumnSettings
	CurrentSprint            *Sprint
	EstimationField          *CustomField
	HideOrphansSwimlane      *bool
	Id                       *string
	Name                     *string
	OriginalEstimationField  *CustomField
	OrphansAtTheTop          *bool
	Owner                    *User
	Projects                 []Project
	ReadSharingSettings      *AgileSharingSettings
	Sprints                  []Sprint
	SprintsSettings          *SprintsSettings
	Status                   *AgileStatus
	SwimlaneSettings         SwimlaneSettings
	UpdateSharingSettings    *AgileSharingSettings
	UpdateableBy             *UserGroup
	UpdateableByProjectBased *bool
	VisibleFor               *UserGroup
	VisibleForProjectBased   *bool
}

type AgileColumn

type AgileColumn struct {
	FieldValues  []AgileColumnFieldValue
	Id           *string
	IsResolved   *bool
	Ordinal      *int
	Parent       *ColumnSettings
	Presentation *string
	WipLimit     *WIPLimit
}

AgileColumn: Represents settings for a single board column

type AgileColumnFieldValue

type AgileColumnFieldValue struct {
	Id         *string
	IsResolved *bool
	Name       *string
}

AgileColumnFieldValue: Represents a field value or values, parameterizing agile column.

type AgileSharingSettings

type AgileSharingSettings struct {
	Id              *string
	PermittedGroups []UserGroup
	PermittedUsers  []User
}

AgileSharingSettings: Stores users and groups that have access to an agile board.

type AgileStatus

type AgileStatus struct {
	Errors   []string
	HasJobs  *bool
	Id       *string
	Valid    *bool
	Warnings []string
}

AgileStatus: Shows if the board has any configuration problems.

type AllUsersGroup

type AllUsersGroup struct {
	AllUsersGroup *bool
	Icon          *string
	Id            *string
	Name          *string
	RingId        *string
	Users         []User
	UsersCount    *int
}

AllUsersGroup: Represents a group containing all users including guest.

type AppearanceSettings

type AppearanceSettings struct {
	DateFieldFormat *DateFormatDescriptor
	Id              *string
	TimeZone        *TimeZoneDescriptor
}

type Article

type Article struct {
	Attachments     []ArticleAttachment
	Content         *string
	Id              *string
	Reporter        *User
	Summary         *string
	Visibility      Visibility
	ChildArticles   []Article
	Comments        []ArticleComment
	Created         *time.Time
	ExternalArticle *ExternalArticle
	HasChildren     *bool
	HasStar         *bool
	IdReadable      *string
	Ordinal         *int
	ParentArticle   *Article
	PinnedComments  []ArticleComment
	Project         *Project
	Tags            []Tag
	Updated         *time.Time
	UpdatedBy       *User
}

Article: Represents a base article entity.

type ArticleAttachment

type ArticleAttachment struct {
	Article       BaseArticle
	Author        *User
	Base64Content *string
	Charset       *string
	Comment       *ArticleComment
	Created       *time.Time
	Draft         *bool
	Extension     *string
	Id            *string
	MetaData      *string
	MimeType      *string
	Name          *string
	Removed       *bool
	Size          *int
	Updated       *time.Time
	Url           *string
	Visibility    Visibility
}

type ArticleComment

type ArticleComment struct {
	Article     *Article
	Attachments []ArticleAttachment
	Author      *User
	Created     *time.Time
	Id          *string
	Pinned      *bool
	Reactions   []Reaction
	Text        *string
	Updated     *time.Time
	Visibility  Visibility
}

type AssignedRole

type AssignedRole struct {
	Holder *any
	Id     *string
	Role   *Role
	Scope  AccessScope
}

type AttachmentActivityItem

type AttachmentActivityItem struct {
	Added        []IssueAttachment
	Author       *User
	Category     *ActivityCategory
	Field        FilterField
	Id           *string
	Removed      []IssueAttachment
	Target       *IssueAttachment
	TargetMember *string
	Timestamp    *time.Time
}

AttachmentActivityItem: Represents a change in the list of attachments of an issue.

type AttributeBasedSwimlaneSettings

type AttributeBasedSwimlaneSettings struct {
	Enabled *bool
	Id      *string
	Field   FilterField
	Values  []SwimlaneEntityAttributeValue
}

AttributeBasedSwimlaneSettings: Base entity for different swimlane settings

type BackupError

type BackupError struct {
	Date         *time.Time
	ErrorMessage *string
	Id           *string
}

BackupError: Represents an error that appeared during the backup.

type BackupFile

type BackupFile struct {
	CreationDate *time.Time
	Id           *string
	Link         *string
	Name         *string
	Size         *int
}

type BackupStatus

type BackupStatus struct {
	BackupCancelled  *bool
	BackupError      *BackupError
	BackupInProgress *bool
	Id               *string
}

type BaseArticle

type BaseArticle interface {
}

BaseArticle: Represents a base article entity.

type BaseBundle

type BaseBundle interface {
	Bundle
}

BaseBundle: Represents a set of field values in YouTrack.

type BaseWorkItem

type BaseWorkItem interface {
}

BaseWorkItem: Represents a basic ancestor for work items.

type BitBucketChangesProcessor

type BitBucketChangesProcessor struct {
	AddComments              *bool
	Enabled                  *bool
	Id                       *string
	LookupIssuesInBranchName *bool
	Project                  *Project
	RelatedProjects          []Project
	Server                   *BitBucketServer
	VisibleForGroups         []UserGroup
	BranchSpecification      *string
	Committers               *UserGroup
	Path                     *string
}

BitBucketChangesProcessor: Represents an integration with a VCS repository hosted on bitbucket.org.

type BitBucketServer

type BitBucketServer struct {
	Id  *string
	Url *string
}

BitBucketServer: Represents a cloud Bitbucket server.

type BitbucketStandaloneChangesProcessor

type BitbucketStandaloneChangesProcessor struct {
	AddComments              *bool
	Enabled                  *bool
	Id                       *string
	LookupIssuesInBranchName *bool
	Project                  *Project
	RelatedProjects          []Project
	Server                   *BitbucketStandaloneServer
	VisibleForGroups         []UserGroup
	BranchSpecification      *string
	Committers               *UserGroup
	Path                     *string
}

BitbucketStandaloneChangesProcessor: Represents an integration with a VCS repository on a self-hosted Bitbucket server.

type BitbucketStandaloneServer

type BitbucketStandaloneServer struct {
	Id  *string
	Url *string
}

BitbucketStandaloneServer: Represents a self-hosted Bitbucket server.

type BuildBundle

type BuildBundle struct {
	Id           *string
	IsUpdateable *bool
	Values       []BuildBundleElement
}

BuildBundle: Represents a set of field values in YouTrack.

type BuildBundleCustomFieldDefaults

type BuildBundleCustomFieldDefaults struct {
	CanBeEmpty     *bool
	EmptyFieldText *string
	Id             *string
	IsPublic       *bool
	Parent         *CustomField
	Bundle         *BuildBundle
	DefaultValues  []BuildBundleElement
}

BuildBundleCustomFieldDefaults: Default settings for the build-type field.

type BuildBundleElement

type BuildBundleElement struct {
	Archived      *bool
	Bundle        Bundle
	Color         *FieldStyle
	Description   *string
	HasRunningJob *bool
	Id            *string
	Name          *string
	Ordinal       *int
	AssembleDate  *time.Time
}

BuildBundleElement: Represents a field value in YouTrack.

type BuildProjectCustomField

type BuildProjectCustomField struct {
	CanBeEmpty     *bool
	Condition      CustomFieldCondition
	EmptyFieldText *string
	Field          *CustomField
	HasRunningJob  *bool
	Id             *string
	IsPublic       *bool
	Ordinal        *int
	Project        *Project
	Bundle         *BuildBundle
	DefaultValues  []BuildBundleElement
}

BuildProjectCustomField: Represents project settings for a build field.

type Bundle

type Bundle interface {
}

type BundleCustomFieldDefaults

type BundleCustomFieldDefaults interface {
	CustomFieldDefaults
}

BundleCustomFieldDefaults: Represents custom field default settings for enumerated fields.

type BundleElement

type BundleElement interface {
}

BundleElement: Represents a field value in YouTrack.

type BundleProjectCustomField

type BundleProjectCustomField interface {
	ProjectCustomField
}

BundleProjectCustomField: Represents project settings for a custom field with a defined set of values.

type ChangesProcessor

type ChangesProcessor interface {
}

ChangesProcessor: The basic entity that represents a VCS or a build server integration configured for a project.

type Client

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

func NewClient

func NewClient(baseURL string, token []byte) *Client

func NewClientWithHTTPClient

func NewClientWithHTTPClient(baseURL string, client *http.Client) *Client

NewClientWithHTTPClient creates a client whose transport is responsible for authentication. This is used with oauth2.NewClient so expired access tokens are refreshed transparently.

func (*Client) CreateAgile

func (c *Client) CreateAgile(ctx context.Context, r CreateAgileRequest) (*Agile, error)

CreateAgile calls POST /agiles.

This resource lets you work with agile boards in YouTrack using the REST API.

Response: single Agile.

func (*Client) CreateArticle

func (c *Client) CreateArticle(ctx context.Context, r CreateArticleRequest) (*Article, error)

CreateArticle calls POST /articles.

This resource lets you access articles in the YouTrack knowledge base.

Response: single Article.

func (*Client) CreateArticleAtArticlesByIDChildArticles

func (c *Client) CreateArticleAtArticlesByIDChildArticles(ctx context.Context, r CreateArticleAtArticlesByIDChildArticlesRequest) (*Article, error)

CreateArticleAtArticlesByIDChildArticles calls POST /articles/{id}/childArticles.

This resource lets you work with the sub-articles of the current article.

Response: single Article.

func (*Client) CreateArticleAttachment

func (c *Client) CreateArticleAttachment(ctx context.Context, r CreateArticleAttachmentRequest) (*ArticleAttachment, error)

CreateArticleAttachment calls POST /articles/{id}/attachments.

This resource lets you work with attachments in a specific article.

Response: single ArticleAttachment.

func (*Client) CreateArticleComment

func (c *Client) CreateArticleComment(ctx context.Context, r CreateArticleCommentRequest) (*ArticleComment, error)

CreateArticleComment calls POST /articles/{id}/comments.

This resource lets you work with comments to an article.

Response: single ArticleComment.

func (*Client) CreateBuildBundle

func (c *Client) CreateBuildBundle(ctx context.Context, r CreateBuildBundleRequest) (*BuildBundle, error)

CreateBuildBundle calls POST /admin/customFieldSettings/bundles/build.

This resource provides operations with sets of builds.

Response: single BuildBundle.

func (*Client) CreateBuildBundleElement

func (c *Client) CreateBuildBundleElement(ctx context.Context, r CreateBuildBundleElementRequest) (*BuildBundleElement, error)

CreateBuildBundleElement calls POST /admin/customFieldSettings/bundles/build/{id}/values.

This resource lets you work with the values in a specific set of builds (build bundle).

Response: single BuildBundleElement.

func (*Client) CreateCommandList

func (c *Client) CreateCommandList(ctx context.Context, r CreateCommandListRequest) (*CommandList, error)

CreateCommandList calls POST /commands.

This resource lets you apply commands to issues.

Response: single CommandList.

func (*Client) CreateCommandListAtCommandsAssist

func (c *Client) CreateCommandListAtCommandsAssist(ctx context.Context, r CreateCommandListAtCommandsAssistRequest) (*CommandList, error)

CreateCommandListAtCommandsAssist calls POST /commands/assist.

Lets you get suggestions for the currently entered command.

Response: single CommandList.

func (*Client) CreateCustomField

func (c *Client) CreateCustomField(ctx context.Context, r CreateCustomFieldRequest) (*CustomField, error)

CreateCustomField calls POST /admin/customFieldSettings/customFields.

This resource lets you work with the custom fields. In the old REST API we called them "prototypes".

Response: single CustomField.

func (*Client) CreateEnumBundle

func (c *Client) CreateEnumBundle(ctx context.Context, r CreateEnumBundleRequest) (*EnumBundle, error)

CreateEnumBundle calls POST /admin/customFieldSettings/bundles/enum.

This resource lets you work with a set of values of the `enum` type.

Response: single EnumBundle.

func (*Client) CreateEnumBundleElement

func (c *Client) CreateEnumBundleElement(ctx context.Context, r CreateEnumBundleElementRequest) (*EnumBundleElement, error)

CreateEnumBundleElement calls POST /admin/customFieldSettings/bundles/enum/{id}/values.

This resource lets you work with the values in a specific set of enumerated values (enum bundle).

Response: single EnumBundleElement.

func (*Client) CreateIssue

func (c *Client) CreateIssue(ctx context.Context, r CreateIssueRequest) (*Issue, error)

CreateIssue calls POST /issues.

Resource that provides access to issues.

Response: single Issue.

func (*Client) CreateIssueAtAdminProjectsByIDIssues

func (c *Client) CreateIssueAtAdminProjectsByIDIssues(ctx context.Context, r CreateIssueAtAdminProjectsByIDIssuesRequest) (*Issue, error)

CreateIssueAtAdminProjectsByIDIssues calls POST /admin/projects/{id}/issues.

This resource lets you work with issues within the particular project.

Response: single Issue.

func (*Client) CreateIssueAtIssuesByIDLinksByIssueLinkIDIssues

func (c *Client) CreateIssueAtIssuesByIDLinksByIssueLinkIDIssues(ctx context.Context, r CreateIssueAtIssuesByIDLinksByIssueLinkIDIssuesRequest) (*Issue, error)

CreateIssueAtIssuesByIDLinksByIssueLinkIDIssues calls POST /issues/{id}/links/{issueLinkId}/issues.

This resource lets you read, add, and remove links to other issues for the current one.

Response: single Issue.

func (*Client) CreateIssueAttachment

func (c *Client) CreateIssueAttachment(ctx context.Context, r CreateIssueAttachmentRequest) ([]IssueAttachment, error)

CreateIssueAttachment calls POST /issues/{id}/attachments.

This resource lets you work with attachments in the specific issue.

Response: collection of IssueAttachment.

func (*Client) CreateIssueComment

func (c *Client) CreateIssueComment(ctx context.Context, r CreateIssueCommentRequest) (*IssueComment, error)

CreateIssueComment calls POST /issues/{id}/comments.

This resource lets you work with comments of an issue.

Response: single IssueComment.

func (*Client) CreateIssueCountResponse

func (c *Client) CreateIssueCountResponse(ctx context.Context, r CreateIssueCountResponseRequest) (*IssueCountResponse, error)

CreateIssueCountResponse calls POST /issuesGetter/count.

This resource lets you get the number of issues returned by a search.

Response: single IssueCountResponse.

func (*Client) CreateIssueLinkType

func (c *Client) CreateIssueLinkType(ctx context.Context, r CreateIssueLinkTypeRequest) (*IssueLinkType, error)

CreateIssueLinkType calls POST /issueLinkTypes.

This resource provides operations with issue link types.

Response: single IssueLinkType.

func (*Client) CreateIssueWorkItem

func (c *Client) CreateIssueWorkItem(ctx context.Context, r CreateIssueWorkItemRequest) (*IssueWorkItem, error)

CreateIssueWorkItem calls POST /issues/{id}/timeTracking/workItems.

This resource lets you work with work items in the specific issue.

Response: single IssueWorkItem.

func (*Client) CreateOrganization

func (c *Client) CreateOrganization(ctx context.Context, r CreateOrganizationRequest) (*Organization, error)

CreateOrganization calls POST /admin/organizations.

This resource lets you work with organizations in YouTrack.

Response: single Organization.

func (*Client) CreateOwnedBundle

func (c *Client) CreateOwnedBundle(ctx context.Context, r CreateOwnedBundleRequest) (*OwnedBundle, error)

CreateOwnedBundle calls POST /admin/customFieldSettings/bundles/ownedField.

This resource provides operations with owned field bundles.

Response: single OwnedBundle.

func (*Client) CreateOwnedBundleElement

func (c *Client) CreateOwnedBundleElement(ctx context.Context, r CreateOwnedBundleElementRequest) (*OwnedBundleElement, error)

CreateOwnedBundleElement calls POST /admin/customFieldSettings/bundles/ownedField/{id}/values.

This resource lets you work with the values in a specific set of owned values (owned bundle).

Response: single OwnedBundleElement.

func (*Client) CreateProject

func (c *Client) CreateProject(ctx context.Context, r CreateProjectRequest) (*Project, error)

CreateProject calls POST /admin/projects.

This resource provides access to projects.

Response: single Project.

func (*Client) CreateProjectCustomField

func (c *Client) CreateProjectCustomField(ctx context.Context, r CreateProjectCustomFieldRequest) (ProjectCustomField, error)

CreateProjectCustomField calls POST /admin/projects/{id}/customFields.

This resource lets you access and configure custom fields in the specific project.

Response: single ProjectCustomField.

func (*Client) CreateReaction

func (c *Client) CreateReaction(ctx context.Context, r CreateReactionRequest) (*Reaction, error)

CreateReaction calls POST /articles/{id}/comments/{articleCommentId}/reactions.

This resource lets you work with reactions to an article comment.

Response: single Reaction.

func (*Client) CreateReactionAtIssuesByIDCommentsByIssueCommentIDReactions

func (c *Client) CreateReactionAtIssuesByIDCommentsByIssueCommentIDReactions(ctx context.Context, r CreateReactionAtIssuesByIDCommentsByIssueCommentIDReactionsRequest) (*Reaction, error)

CreateReactionAtIssuesByIDCommentsByIssueCommentIDReactions calls POST /issues/{id}/comments/{issueCommentId}/reactions.

This resource lets you work with reactions to an issue comment.

Response: single Reaction.

func (*Client) CreateRole

func (c *Client) CreateRole(ctx context.Context, r CreateRoleRequest) (*Role, error)

CreateRole calls POST /roles.

Response: single Role.

func (*Client) CreateSavedQuery

func (c *Client) CreateSavedQuery(ctx context.Context, r CreateSavedQueryRequest) (*SavedQuery, error)

CreateSavedQuery calls POST /savedQueries.

This resource lets you access and work with saved searches in YouTrack.

Response: single SavedQuery.

func (*Client) CreateSearchSuggestions

func (c *Client) CreateSearchSuggestions(ctx context.Context, r CreateSearchSuggestionsRequest) (*SearchSuggestions, error)

CreateSearchSuggestions calls POST /search/assist.

Lets you get suggestions for the currently entered search query.

Response: single SearchSuggestions.

func (*Client) CreateSprint

func (c *Client) CreateSprint(ctx context.Context, r CreateSprintRequest) (*Sprint, error)

CreateSprint calls POST /agiles/{id}/sprints.

This resource lets you work with sprints of the specific agile board.

Response: single Sprint.

func (*Client) CreateStateBundle

func (c *Client) CreateStateBundle(ctx context.Context, r CreateStateBundleRequest) (*StateBundle, error)

CreateStateBundle calls POST /admin/customFieldSettings/bundles/state.

This resource provides operations with sets of values of the `state` type.

Response: single StateBundle.

func (*Client) CreateStateBundleElement

func (c *Client) CreateStateBundleElement(ctx context.Context, r CreateStateBundleElementRequest) (*StateBundleElement, error)

CreateStateBundleElement calls POST /admin/customFieldSettings/bundles/state/{id}/values.

This resource lets you work with the values in a specific set of states (state bundle).

Response: single StateBundleElement.

func (*Client) CreateTag

func (c *Client) CreateTag(ctx context.Context, r CreateTagRequest) (*Tag, error)

CreateTag calls POST /tags.

This resource lets you access and work with tags in YouTrack.

Response: single Tag.

func (*Client) CreateTagAtArticlesByIDTags

func (c *Client) CreateTagAtArticlesByIDTags(ctx context.Context, r CreateTagAtArticlesByIDTagsRequest) (*Tag, error)

CreateTagAtArticlesByIDTags calls POST /articles/{id}/tags.

This sub-resource lets you work with the tags that are added to the specific article.

Response: single Tag.

func (*Client) CreateTagAtIssuesByIDTags

func (c *Client) CreateTagAtIssuesByIDTags(ctx context.Context, r CreateTagAtIssuesByIDTagsRequest) (*Tag, error)

CreateTagAtIssuesByIDTags calls POST /issues/{id}/tags.

This sub-resource lets you work with the tags that are added to the specific issue.

Response: single Tag.

func (*Client) CreateUser

func (c *Client) CreateUser(ctx context.Context, r CreateUserRequest) (*User, error)

CreateUser calls POST /users.

Response: single User.

func (*Client) CreateUserAtAdminCustomFieldSettingsBundlesUserByIDIndividuals

func (c *Client) CreateUserAtAdminCustomFieldSettingsBundlesUserByIDIndividuals(ctx context.Context, r CreateUserAtAdminCustomFieldSettingsBundlesUserByIDIndividualsRequest) (*User, error)

CreateUserAtAdminCustomFieldSettingsBundlesUserByIDIndividuals calls POST /admin/customFieldSettings/bundles/user/{id}/individuals.

This resource lets you work with the user accounts that were added individually to a specific set of users (user bundle).

Response: single User.

func (*Client) CreateUserAtAdminProjectsByIDTeamOwnUsers

func (c *Client) CreateUserAtAdminProjectsByIDTeamOwnUsers(ctx context.Context, r CreateUserAtAdminProjectsByIDTeamOwnUsersRequest) (*User, error)

CreateUserAtAdminProjectsByIDTeamOwnUsers calls POST /admin/projects/{id}/team/ownUsers.

This resource lets you work with the users added to the project team directly.

Response: single User.

func (*Client) CreateUserBundle

func (c *Client) CreateUserBundle(ctx context.Context, r CreateUserBundleRequest) (*UserBundle, error)

CreateUserBundle calls POST /admin/customFieldSettings/bundles/user.

This resource lets you work with the sets of users in YouTrack.

Response: single UserBundle.

func (*Client) CreateUserGroup

func (c *Client) CreateUserGroup(ctx context.Context, r CreateUserGroupRequest) (*UserGroup, error)

CreateUserGroup calls POST /groups.

Response: single UserGroup.

func (*Client) CreateUserGroupAtAdminCustomFieldSettingsBundlesUserByIDGroups

func (c *Client) CreateUserGroupAtAdminCustomFieldSettingsBundlesUserByIDGroups(ctx context.Context, r CreateUserGroupAtAdminCustomFieldSettingsBundlesUserByIDGroupsRequest) (*UserGroup, error)

CreateUserGroupAtAdminCustomFieldSettingsBundlesUserByIDGroups calls POST /admin/customFieldSettings/bundles/user/{id}/groups.

This resource lets you work with the user groups that are added to the specific set of users.

Response: single UserGroup.

func (*Client) CreateUserGroupAtAdminProjectsByIDTeamGroups

func (c *Client) CreateUserGroupAtAdminProjectsByIDTeamGroups(ctx context.Context, r CreateUserGroupAtAdminProjectsByIDTeamGroupsRequest) (*UserGroup, error)

CreateUserGroupAtAdminProjectsByIDTeamGroups calls POST /admin/projects/{id}/team/groups.

This resource lets you work with the groups added to the project team.

Response: single UserGroup.

func (*Client) CreateVcsChange

func (c *Client) CreateVcsChange(ctx context.Context, r CreateVcsChangeRequest) (*VcsChange, error)

CreateVcsChange calls POST /issues/{id}/vcsChanges.

Response: single VcsChange.

func (*Client) CreateVersionBundle

func (c *Client) CreateVersionBundle(ctx context.Context, r CreateVersionBundleRequest) (*VersionBundle, error)

CreateVersionBundle calls POST /admin/customFieldSettings/bundles/version.

This resource provides operations with version bundles. Version bundles are used as the set of allowed values for custom fields of the `version` type.

Response: single VersionBundle.

func (*Client) CreateVersionBundleElement

func (c *Client) CreateVersionBundleElement(ctx context.Context, r CreateVersionBundleElementRequest) (*VersionBundleElement, error)

CreateVersionBundleElement calls POST /admin/customFieldSettings/bundles/version/{id}/values.

This resource lets you work with the version values in a specific set of versions (version bundle).

Response: single VersionBundleElement.

func (*Client) CreateWorkItemType

func (c *Client) CreateWorkItemType(ctx context.Context, r CreateWorkItemTypeRequest) (*WorkItemType, error)

CreateWorkItemType calls POST /admin/timeTrackingSettings/workItemTypes.

This resource lets you read, update, and delete types of work items.

Response: single WorkItemType.

func (*Client) CreateWorkItemTypeAtAdminProjectsByIDTimeTrackingSettingsWorkItemTypes

func (c *Client) CreateWorkItemTypeAtAdminProjectsByIDTimeTrackingSettingsWorkItemTypes(ctx context.Context, r CreateWorkItemTypeAtAdminProjectsByIDTimeTrackingSettingsWorkItemTypesRequest) (*WorkItemType, error)

CreateWorkItemTypeAtAdminProjectsByIDTimeTrackingSettingsWorkItemTypes calls POST /admin/projects/{id}/timeTrackingSettings/workItemTypes.

This resource lets you configure work item types of the project.

Response: single WorkItemType.

func (*Client) DeleteAgile

func (c *Client) DeleteAgile(ctx context.Context, r DeleteAgileRequest) error

DeleteAgile calls DELETE /agiles/{id}.

This resource lets you work with agile boards in YouTrack using the REST API.

func (*Client) DeleteArticle

func (c *Client) DeleteArticle(ctx context.Context, r DeleteArticleRequest) error

DeleteArticle calls DELETE /articles/{id}.

This resource lets you access articles in the YouTrack knowledge base.

func (*Client) DeleteArticleAtArticlesByIDChildArticlesByArticleID

func (c *Client) DeleteArticleAtArticlesByIDChildArticlesByArticleID(ctx context.Context, r DeleteArticleAtArticlesByIDChildArticlesByArticleIDRequest) error

DeleteArticleAtArticlesByIDChildArticlesByArticleID calls DELETE /articles/{id}/childArticles/{articleId}.

This resource lets you work with the sub-articles of the current article.

func (*Client) DeleteArticleAttachment

func (c *Client) DeleteArticleAttachment(ctx context.Context, r DeleteArticleAttachmentRequest) error

DeleteArticleAttachment calls DELETE /articles/{id}/attachments/{articleAttachmentId}.

This resource lets you work with attachments in a specific article.

func (*Client) DeleteArticleComment

func (c *Client) DeleteArticleComment(ctx context.Context, r DeleteArticleCommentRequest) error

DeleteArticleComment calls DELETE /articles/{id}/comments/{articleCommentId}.

This resource lets you work with comments to an article.

func (*Client) DeleteAssignedRole

func (c *Client) DeleteAssignedRole(ctx context.Context, r DeleteAssignedRoleRequest) error

DeleteAssignedRole calls DELETE /assignedRoles/{id}.

func (*Client) DeleteBuild

func (c *Client) DeleteBuild(ctx context.Context, r DeleteBuildRequest) error

DeleteBuild calls DELETE /admin/customFieldSettings/bundles/build/{id}.

This resource provides operations with sets of builds.

func (*Client) DeleteBuildBundleElement

func (c *Client) DeleteBuildBundleElement(ctx context.Context, r DeleteBuildBundleElementRequest) error

DeleteBuildBundleElement calls DELETE /admin/customFieldSettings/bundles/build/{id}/values/{buildBundleElementId}.

This resource lets you work with the values in a specific set of builds (build bundle).

func (*Client) DeleteCustomField

func (c *Client) DeleteCustomField(ctx context.Context, r DeleteCustomFieldRequest) error

DeleteCustomField calls DELETE /admin/customFieldSettings/customFields/{id}.

This resource lets you work with the custom fields. In the old REST API we called them "prototypes".

func (*Client) DeleteEnum

func (c *Client) DeleteEnum(ctx context.Context, r DeleteEnumRequest) error

DeleteEnum calls DELETE /admin/customFieldSettings/bundles/enum/{id}.

This resource lets you work with a set of values of the `enum` type.

func (*Client) DeleteEnumBundleElement

func (c *Client) DeleteEnumBundleElement(ctx context.Context, r DeleteEnumBundleElementRequest) error

DeleteEnumBundleElement calls DELETE /admin/customFieldSettings/bundles/enum/{id}/values/{enumBundleElementId}.

This resource lets you work with the values in a specific set of enumerated values (enum bundle).

func (*Client) DeleteGroup

func (c *Client) DeleteGroup(ctx context.Context, r DeleteGroupRequest) error

DeleteGroup calls DELETE /groups/{id}.

func (*Client) DeleteIssue

func (c *Client) DeleteIssue(ctx context.Context, r DeleteIssueRequest) error

DeleteIssue calls DELETE /issues/{id}.

Resource that provides access to issues.

func (*Client) DeleteIssueAtAdminProjectsByIDIssuesByIssueID

func (c *Client) DeleteIssueAtAdminProjectsByIDIssuesByIssueID(ctx context.Context, r DeleteIssueAtAdminProjectsByIDIssuesByIssueIDRequest) error

DeleteIssueAtAdminProjectsByIDIssuesByIssueID calls DELETE /admin/projects/{id}/issues/{issueId}.

This resource lets you work with issues within the particular project.

func (*Client) DeleteIssueAtIssuesByIDLinksByIssueLinkIDIssuesByIssueID

func (c *Client) DeleteIssueAtIssuesByIDLinksByIssueLinkIDIssuesByIssueID(ctx context.Context, r DeleteIssueAtIssuesByIDLinksByIssueLinkIDIssuesByIssueIDRequest) error

DeleteIssueAtIssuesByIDLinksByIssueLinkIDIssuesByIssueID calls DELETE /issues/{id}/links/{issueLinkId}/issues/{issueId}.

This resource lets you read, add, and remove links to other issues for the current one.

func (*Client) DeleteIssueAttachment

func (c *Client) DeleteIssueAttachment(ctx context.Context, r DeleteIssueAttachmentRequest) error

DeleteIssueAttachment calls DELETE /issues/{id}/attachments/{issueAttachmentId}.

This resource lets you work with attachments in the specific issue.

func (*Client) DeleteIssueComment

func (c *Client) DeleteIssueComment(ctx context.Context, r DeleteIssueCommentRequest) error

DeleteIssueComment calls DELETE /issues/{id}/comments/{issueCommentId}.

This resource lets you work with comments of an issue.

func (*Client) DeleteIssueLinkType

func (c *Client) DeleteIssueLinkType(ctx context.Context, r DeleteIssueLinkTypeRequest) error

DeleteIssueLinkType calls DELETE /issueLinkTypes/{id}.

This resource provides operations with issue link types.

func (*Client) DeleteIssueWorkItem

func (c *Client) DeleteIssueWorkItem(ctx context.Context, r DeleteIssueWorkItemRequest) error

DeleteIssueWorkItem calls DELETE /issues/{id}/timeTracking/workItems/{issueWorkItemId}.

This resource lets you work with work items in the specific issue.

func (*Client) DeleteOrganization

func (c *Client) DeleteOrganization(ctx context.Context, r DeleteOrganizationRequest) error

DeleteOrganization calls DELETE /admin/organizations/{id}.

This resource lets you work with organizations in YouTrack.

func (*Client) DeleteOwnedBundleElement

func (c *Client) DeleteOwnedBundleElement(ctx context.Context, r DeleteOwnedBundleElementRequest) error

DeleteOwnedBundleElement calls DELETE /admin/customFieldSettings/bundles/ownedField/{id}/values/{ownedBundleElementId}.

This resource lets you work with the values in a specific set of owned values (owned bundle).

func (*Client) DeleteOwnedField

func (c *Client) DeleteOwnedField(ctx context.Context, r DeleteOwnedFieldRequest) error

DeleteOwnedField calls DELETE /admin/customFieldSettings/bundles/ownedField/{id}.

This resource provides operations with owned field bundles.

func (*Client) DeleteProject

func (c *Client) DeleteProject(ctx context.Context, r DeleteProjectRequest) error

DeleteProject calls DELETE /admin/projects/{id}.

This resource provides access to projects.

func (*Client) DeleteProjectCustomField

func (c *Client) DeleteProjectCustomField(ctx context.Context, r DeleteProjectCustomFieldRequest) error

DeleteProjectCustomField calls DELETE /admin/projects/{id}/customFields/{projectCustomFieldId}.

This resource lets you access and configure custom fields in the specific project.

func (*Client) DeleteReaction

func (c *Client) DeleteReaction(ctx context.Context, r DeleteReactionRequest) error

DeleteReaction calls DELETE /articles/{id}/comments/{articleCommentId}/reactions/{reactionId}.

This resource lets you work with reactions to an article comment.

func (*Client) DeleteReactionAtIssuesByIDCommentsByIssueCommentIDReactionsByReactionID

func (c *Client) DeleteReactionAtIssuesByIDCommentsByIssueCommentIDReactionsByReactionID(ctx context.Context, r DeleteReactionAtIssuesByIDCommentsByIssueCommentIDReactionsByReactionIDRequest) error

DeleteReactionAtIssuesByIDCommentsByIssueCommentIDReactionsByReactionID calls DELETE /issues/{id}/comments/{issueCommentId}/reactions/{reactionId}.

This resource lets you work with reactions to an issue comment.

func (*Client) DeleteRole

func (c *Client) DeleteRole(ctx context.Context, r DeleteRoleRequest) error

DeleteRole calls DELETE /roles/{id}.

func (*Client) DeleteSavedQuery

func (c *Client) DeleteSavedQuery(ctx context.Context, r DeleteSavedQueryRequest) error

DeleteSavedQuery calls DELETE /savedQueries/{id}.

This resource lets you access and work with saved searches in YouTrack.

func (*Client) DeleteSprint

func (c *Client) DeleteSprint(ctx context.Context, r DeleteSprintRequest) error

DeleteSprint calls DELETE /agiles/{id}/sprints/{sprintId}.

This resource lets you work with sprints of the specific agile board.

func (*Client) DeleteState

func (c *Client) DeleteState(ctx context.Context, r DeleteStateRequest) error

DeleteState calls DELETE /admin/customFieldSettings/bundles/state/{id}.

This resource provides operations with sets of values of the `state` type.

func (*Client) DeleteStateBundleElement

func (c *Client) DeleteStateBundleElement(ctx context.Context, r DeleteStateBundleElementRequest) error

DeleteStateBundleElement calls DELETE /admin/customFieldSettings/bundles/state/{id}/values/{stateBundleElementId}.

This resource lets you work with the values in a specific set of states (state bundle).

func (*Client) DeleteTag

func (c *Client) DeleteTag(ctx context.Context, r DeleteTagRequest) error

DeleteTag calls DELETE /tags/{id}.

This resource lets you access and work with tags in YouTrack.

func (*Client) DeleteTagAtArticlesByIDTagsByTagID

func (c *Client) DeleteTagAtArticlesByIDTagsByTagID(ctx context.Context, r DeleteTagAtArticlesByIDTagsByTagIDRequest) error

DeleteTagAtArticlesByIDTagsByTagID calls DELETE /articles/{id}/tags/{tagId}.

This sub-resource lets you work with the tags that are added to the specific article.

func (*Client) DeleteTagAtIssuesByIDTagsByTagID

func (c *Client) DeleteTagAtIssuesByIDTagsByTagID(ctx context.Context, r DeleteTagAtIssuesByIDTagsByTagIDRequest) error

DeleteTagAtIssuesByIDTagsByTagID calls DELETE /issues/{id}/tags/{tagId}.

This sub-resource lets you work with the tags that are added to the specific issue.

func (*Client) DeleteUser

func (c *Client) DeleteUser(ctx context.Context, r DeleteUserRequest) error

DeleteUser calls DELETE /admin/customFieldSettings/bundles/user/{id}.

This resource lets you work with the sets of users in YouTrack.

func (*Client) DeleteUserAtAdminCustomFieldSettingsBundlesUserByIDIndividualsByUserID

func (c *Client) DeleteUserAtAdminCustomFieldSettingsBundlesUserByIDIndividualsByUserID(ctx context.Context, r DeleteUserAtAdminCustomFieldSettingsBundlesUserByIDIndividualsByUserIDRequest) error

DeleteUserAtAdminCustomFieldSettingsBundlesUserByIDIndividualsByUserID calls DELETE /admin/customFieldSettings/bundles/user/{id}/individuals/{userId}.

This resource lets you work with the user accounts that were added individually to a specific set of users (user bundle).

func (*Client) DeleteUserAtAdminProjectsByIDTeamOwnUsersByUserID

func (c *Client) DeleteUserAtAdminProjectsByIDTeamOwnUsersByUserID(ctx context.Context, r DeleteUserAtAdminProjectsByIDTeamOwnUsersByUserIDRequest) error

DeleteUserAtAdminProjectsByIDTeamOwnUsersByUserID calls DELETE /admin/projects/{id}/team/ownUsers/{userId}.

This resource lets you work with the users added to the project team directly.

func (*Client) DeleteUserGroup

func (c *Client) DeleteUserGroup(ctx context.Context, r DeleteUserGroupRequest) error

DeleteUserGroup calls DELETE /admin/projects/{id}/team/groups/{userGroupId}.

This resource lets you work with the groups added to the project team.

func (*Client) DeleteUserGroupAtAdminCustomFieldSettingsBundlesUserByIDGroupsByUserGroupID

func (c *Client) DeleteUserGroupAtAdminCustomFieldSettingsBundlesUserByIDGroupsByUserGroupID(ctx context.Context, r DeleteUserGroupAtAdminCustomFieldSettingsBundlesUserByIDGroupsByUserGroupIDRequest) error

DeleteUserGroupAtAdminCustomFieldSettingsBundlesUserByIDGroupsByUserGroupID calls DELETE /admin/customFieldSettings/bundles/user/{id}/groups/{userGroupId}.

This resource lets you work with the user groups that are added to the specific set of users.

func (*Client) DeleteVCSChange

func (c *Client) DeleteVCSChange(ctx context.Context, r DeleteVCSChangeRequest) error

DeleteVCSChange calls DELETE /issues/{id}/vcsChanges/{vcsChangeId}.

func (*Client) DeleteVersion

func (c *Client) DeleteVersion(ctx context.Context, r DeleteVersionRequest) error

DeleteVersion calls DELETE /admin/customFieldSettings/bundles/version/{id}.

This resource provides operations with version bundles. Version bundles are used as the set of allowed values for custom fields of the `version` type.

func (*Client) DeleteVersionBundleElement

func (c *Client) DeleteVersionBundleElement(ctx context.Context, r DeleteVersionBundleElementRequest) error

DeleteVersionBundleElement calls DELETE /admin/customFieldSettings/bundles/version/{id}/values/{versionBundleElementId}.

This resource lets you work with the version values in a specific set of versions (version bundle).

func (*Client) DeleteWorkItemType

func (c *Client) DeleteWorkItemType(ctx context.Context, r DeleteWorkItemTypeRequest) error

DeleteWorkItemType calls DELETE /admin/timeTrackingSettings/workItemTypes/{workItemTypeId}.

This resource lets you read, update, and delete types of work items.

func (*Client) DeleteWorkItemTypeAtAdminProjectsByIDTimeTrackingSettingsWorkItemTypesByWorkItemTypeID

func (c *Client) DeleteWorkItemTypeAtAdminProjectsByIDTimeTrackingSettingsWorkItemTypesByWorkItemTypeID(ctx context.Context, r DeleteWorkItemTypeAtAdminProjectsByIDTimeTrackingSettingsWorkItemTypesByWorkItemTypeIDRequest) error

DeleteWorkItemTypeAtAdminProjectsByIDTimeTrackingSettingsWorkItemTypesByWorkItemTypeID calls DELETE /admin/projects/{id}/timeTrackingSettings/workItemTypes/{workItemTypeId}.

This resource lets you configure work item types of the project.

func (*Client) GetActivityCursorPage

func (c *Client) GetActivityCursorPage(ctx context.Context, r GetActivityCursorPageRequest) (*ActivityCursorPage, error)

GetActivityCursorPage calls GET /activitiesPage.

This resource provides access to issue-related activity that is wrapped inside a page object. The main advantage of the page in comparison to a list of activities is cursors. The page provides boundary marks that supports iteration over the activities from the place the page is finished.

Response: single ActivityCursorPage.

func (*Client) GetActivityCursorPageAtIssuesByIDActivitiesPage

func (c *Client) GetActivityCursorPageAtIssuesByIDActivitiesPage(ctx context.Context, r GetActivityCursorPageAtIssuesByIDActivitiesPageRequest) (*ActivityCursorPage, error)

GetActivityCursorPageAtIssuesByIDActivitiesPage calls GET /issues/{id}/activitiesPage.

This resource provides access to the issue activities wrapping it to the page object. The main advantage of the page in comparison to a list of activities is cursors. The page provides boundary marks that allows continuing iteration over the activities from the place the page is finished.

Response: single ActivityCursorPage.

func (*Client) GetActivityItem

func (c *Client) GetActivityItem(ctx context.Context, r GetActivityItemRequest) (ActivityItem, error)

GetActivityItem calls GET /activities/{id}.

This resource provides access to the activities with the possibility to filter them by various parameters.

Response: single ActivityItem.

func (*Client) GetActivityItemAtIssuesByIDActivitiesByActivityItemID

func (c *Client) GetActivityItemAtIssuesByIDActivitiesByActivityItemID(ctx context.Context, r GetActivityItemAtIssuesByIDActivitiesByActivityItemIDRequest) (ActivityItem, error)

GetActivityItemAtIssuesByIDActivitiesByActivityItemID calls GET /issues/{id}/activities/{activityItemId}.

This resource lets you get the history of operations for a specific issue. It provides access to the issue activities with the possibility to filter them by various parameters.

Response: single ActivityItem.

func (*Client) GetAgile

func (c *Client) GetAgile(ctx context.Context, r GetAgileRequest) (*Agile, error)

GetAgile calls GET /agiles/{id}.

This resource lets you work with agile boards in YouTrack using the REST API.

Response: single Agile.

func (*Client) GetAppearanceSettings

func (c *Client) GetAppearanceSettings(ctx context.Context, r GetAppearanceSettingsRequest) (*AppearanceSettings, error)

GetAppearanceSettings calls GET /admin/globalSettings/appearanceSettings.

This resource lets you work with the Visual settings of your YouTrack service.

Response: single AppearanceSettings.

func (*Client) GetArticle

func (c *Client) GetArticle(ctx context.Context, r GetArticleRequest) (*Article, error)

GetArticle calls GET /articles/{id}.

This resource lets you access articles in the YouTrack knowledge base.

Response: single Article.

func (*Client) GetArticleAtArticlesByIDChildArticlesByArticleID

func (c *Client) GetArticleAtArticlesByIDChildArticlesByArticleID(ctx context.Context, r GetArticleAtArticlesByIDChildArticlesByArticleIDRequest) (*Article, error)

GetArticleAtArticlesByIDChildArticlesByArticleID calls GET /articles/{id}/childArticles/{articleId}.

This resource lets you work with the sub-articles of the current article.

Response: single Article.

func (*Client) GetArticleAtArticlesByIDParentArticle

func (c *Client) GetArticleAtArticlesByIDParentArticle(ctx context.Context, r GetArticleAtArticlesByIDParentArticleRequest) (*Article, error)

GetArticleAtArticlesByIDParentArticle calls GET /articles/{id}/parentArticle.

This resource lets you get the parent article of the current one.

Response: single Article.

func (*Client) GetArticleAttachment

func (c *Client) GetArticleAttachment(ctx context.Context, r GetArticleAttachmentRequest) (*ArticleAttachment, error)

GetArticleAttachment calls GET /articles/{id}/attachments/{articleAttachmentId}.

This resource lets you work with attachments in a specific article.

Response: single ArticleAttachment.

func (*Client) GetArticleComment

func (c *Client) GetArticleComment(ctx context.Context, r GetArticleCommentRequest) (*ArticleComment, error)

GetArticleComment calls GET /articles/{id}/comments/{articleCommentId}.

This resource lets you work with comments to an article.

Response: single ArticleComment.

func (*Client) GetAssignedRole

func (c *Client) GetAssignedRole(ctx context.Context, r GetAssignedRoleRequest) (*AssignedRole, error)

GetAssignedRole calls GET /assignedRoles/{id}.

Response: single AssignedRole.

func (*Client) GetBackupFile

func (c *Client) GetBackupFile(ctx context.Context, r GetBackupFileRequest) (*BackupFile, error)

GetBackupFile calls GET /admin/databaseBackup/backups/{id}.

This resource lets you access the database backup files. The user account that performs the operation must have Low-level Read Administration permissions.

Response: single BackupFile.

func (*Client) GetBackupStatus

func (c *Client) GetBackupStatus(ctx context.Context, r GetBackupStatusRequest) (*BackupStatus, error)

GetBackupStatus calls GET /admin/databaseBackup/settings/backupStatus.

This resource lets you get the status of the back up process.

Response: single BackupStatus.

func (*Client) GetBuildBundle

func (c *Client) GetBuildBundle(ctx context.Context, r GetBuildBundleRequest) (*BuildBundle, error)

GetBuildBundle calls GET /admin/customFieldSettings/bundles/build/{id}.

This resource provides operations with sets of builds.

Response: single BuildBundle.

func (*Client) GetBuildBundleElement

func (c *Client) GetBuildBundleElement(ctx context.Context, r GetBuildBundleElementRequest) (*BuildBundleElement, error)

GetBuildBundleElement calls GET /admin/customFieldSettings/bundles/build/{id}/values/{buildBundleElementId}.

This resource lets you work with the values in a specific set of builds (build bundle).

Response: single BuildBundleElement.

func (*Client) GetCustomField

func (c *Client) GetCustomField(ctx context.Context, r GetCustomFieldRequest) (*CustomField, error)

GetCustomField calls GET /admin/customFieldSettings/customFields/{id}.

This resource lets you work with the custom fields. In the old REST API we called them "prototypes".

Response: single CustomField.

func (*Client) GetCustomFieldDefaults

func (c *Client) GetCustomFieldDefaults(ctx context.Context, r GetCustomFieldDefaultsRequest) (CustomFieldDefaults, error)

GetCustomFieldDefaults calls GET /admin/customFieldSettings/customFields/{id}/fieldDefaults.

This resource lets you read and update default settings of a custom field in a project.

Response: single CustomFieldDefaults.

func (*Client) GetDatabaseBackupSettings

func (c *Client) GetDatabaseBackupSettings(ctx context.Context, r GetDatabaseBackupSettingsRequest) (*DatabaseBackupSettings, error)

GetDatabaseBackupSettings calls GET /admin/databaseBackup/settings.

This resource lets you configure settings of the database backup.

Response: single DatabaseBackupSettings.

func (*Client) GetEnumBundle

func (c *Client) GetEnumBundle(ctx context.Context, r GetEnumBundleRequest) (*EnumBundle, error)

GetEnumBundle calls GET /admin/customFieldSettings/bundles/enum/{id}.

This resource lets you work with a set of values of the `enum` type.

Response: single EnumBundle.

func (*Client) GetEnumBundleElement

func (c *Client) GetEnumBundleElement(ctx context.Context, r GetEnumBundleElementRequest) (*EnumBundleElement, error)

GetEnumBundleElement calls GET /admin/customFieldSettings/bundles/enum/{id}/values/{enumBundleElementId}.

This resource lets you work with the values in a specific set of enumerated values (enum bundle).

Response: single EnumBundleElement.

func (*Client) GetGeneralUserProfile

func (c *Client) GetGeneralUserProfile(ctx context.Context, r GetGeneralUserProfileRequest) (*GeneralUserProfile, error)

GetGeneralUserProfile calls GET /users/{id}/profiles/general.

This resource lets you read and update general settings in the YouTrack profile of the specified user.

Response: single GeneralUserProfile.

func (*Client) GetGlobalSettings

func (c *Client) GetGlobalSettings(ctx context.Context, r GetGlobalSettingsRequest) (*GlobalSettings, error)

GetGlobalSettings calls GET /admin/globalSettings.

Provides operations with global application settings.

Response: single GlobalSettings.

func (*Client) GetGlobalTimeTrackingSettings

func (c *Client) GetGlobalTimeTrackingSettings(ctx context.Context, r GetGlobalTimeTrackingSettingsRequest) (*GlobalTimeTrackingSettings, error)

GetGlobalTimeTrackingSettings calls GET /admin/timeTrackingSettings.

This resource lets you configure system-wide time tracking settings.

Response: single GlobalTimeTrackingSettings.

func (*Client) GetIssue

func (c *Client) GetIssue(ctx context.Context, r GetIssueRequest) (*Issue, error)

GetIssue calls GET /issues/{id}.

Resource that provides access to issues.

Response: single Issue.

func (*Client) GetIssueAtAdminProjectsByIDIssuesByIssueID

func (c *Client) GetIssueAtAdminProjectsByIDIssuesByIssueID(ctx context.Context, r GetIssueAtAdminProjectsByIDIssuesByIssueIDRequest) (*Issue, error)

GetIssueAtAdminProjectsByIDIssuesByIssueID calls GET /admin/projects/{id}/issues/{issueId}.

This resource lets you work with issues within the particular project.

Response: single Issue.

func (*Client) GetIssueAttachment

func (c *Client) GetIssueAttachment(ctx context.Context, r GetIssueAttachmentRequest) (*IssueAttachment, error)

GetIssueAttachment calls GET /issues/{id}/attachments/{issueAttachmentId}.

This resource lets you work with attachments in the specific issue.

Response: single IssueAttachment.

func (*Client) GetIssueComment

func (c *Client) GetIssueComment(ctx context.Context, r GetIssueCommentRequest) (*IssueComment, error)

GetIssueComment calls GET /issues/{id}/comments/{issueCommentId}.

This resource lets you work with comments of an issue.

Response: single IssueComment.

func (*Client) GetIssueCustomField

func (c *Client) GetIssueCustomField(ctx context.Context, r GetIssueCustomFieldRequest) (IssueCustomField, error)

GetIssueCustomField calls GET /issues/{id}/customFields/{issueCustomFieldId}.

This resource lets you work with custom fields of the issue.

Response: single IssueCustomField.

func (c *Client) GetIssueLink(ctx context.Context, r GetIssueLinkRequest) (*IssueLink, error)

GetIssueLink calls GET /issues/{id}/links/{issueLinkId}.

This resource lets you read links of the issue.

Response: single IssueLink.

func (*Client) GetIssueLinkType

func (c *Client) GetIssueLinkType(ctx context.Context, r GetIssueLinkTypeRequest) (*IssueLinkType, error)

GetIssueLinkType calls GET /issueLinkTypes/{id}.

This resource provides operations with issue link types.

Response: single IssueLinkType.

func (*Client) GetIssueTimeTracker

func (c *Client) GetIssueTimeTracker(ctx context.Context, r GetIssueTimeTrackerRequest) (*IssueTimeTracker, error)

GetIssueTimeTracker calls GET /issues/{id}/timeTracking.

This sub-resource lets you read work items of an issue and time tracking status in the issue's project.

Response: single IssueTimeTracker.

func (*Client) GetIssueWorkItem

func (c *Client) GetIssueWorkItem(ctx context.Context, r GetIssueWorkItemRequest) (*IssueWorkItem, error)

GetIssueWorkItem calls GET /workItems/{id}.

Resource that provides access to work items.

Response: single IssueWorkItem.

func (*Client) GetIssueWorkItemAtIssuesByIDTimeTrackingWorkItemsByIssueWorkItemID

func (c *Client) GetIssueWorkItemAtIssuesByIDTimeTrackingWorkItemsByIssueWorkItemID(ctx context.Context, r GetIssueWorkItemAtIssuesByIDTimeTrackingWorkItemsByIssueWorkItemIDRequest) (*IssueWorkItem, error)

GetIssueWorkItemAtIssuesByIDTimeTrackingWorkItemsByIssueWorkItemID calls GET /issues/{id}/timeTracking/workItems/{issueWorkItemId}.

This resource lets you work with work items in the specific issue.

Response: single IssueWorkItem.

func (*Client) GetLicense

func (c *Client) GetLicense(ctx context.Context, r GetLicenseRequest) (*License, error)

GetLicense calls GET /admin/globalSettings/license.

This resource lets you work with the license of your YouTrack service.

Response: single License.

func (*Client) GetLocaleSettings

func (c *Client) GetLocaleSettings(ctx context.Context, r GetLocaleSettingsRequest) (*LocaleSettings, error)

GetLocaleSettings calls GET /admin/globalSettings/localeSettings.

This resource lets you work with the system language settings of your YouTrack service.

Response: single LocaleSettings.

func (*Client) GetMe

func (c *Client) GetMe(ctx context.Context, r GetMeRequest) (*Me, error)

GetMe calls GET /users/me.

This resource lets you read the settings of your account and your own profile in YouTrack.

Response: single Me.

func (*Client) GetNotificationSettings

func (c *Client) GetNotificationSettings(ctx context.Context, r GetNotificationSettingsRequest) (*NotificationSettings, error)

GetNotificationSettings calls GET /admin/globalSettings/notificationSettings.

This resource lets you work with the notification settings of your YouTrack service: read and configure Email server settings to enable notifications to users.

Response: single NotificationSettings.

func (*Client) GetNotificationsUserProfile

func (c *Client) GetNotificationsUserProfile(ctx context.Context, r GetNotificationsUserProfileRequest) (*NotificationsUserProfile, error)

GetNotificationsUserProfile calls GET /users/{id}/profiles/notifications.

This resource lets you read and update notification settings in the profile of the specific user.

Response: single NotificationsUserProfile.

func (*Client) GetOrganization

func (c *Client) GetOrganization(ctx context.Context, r GetOrganizationRequest) (*Organization, error)

GetOrganization calls GET /admin/organizations/{id}.

This resource lets you work with organizations in YouTrack.

Response: single Organization.

func (*Client) GetOwnedBundle

func (c *Client) GetOwnedBundle(ctx context.Context, r GetOwnedBundleRequest) (*OwnedBundle, error)

GetOwnedBundle calls GET /admin/customFieldSettings/bundles/ownedField/{id}.

This resource provides operations with owned field bundles.

Response: single OwnedBundle.

func (*Client) GetOwnedBundleElement

func (c *Client) GetOwnedBundleElement(ctx context.Context, r GetOwnedBundleElementRequest) (*OwnedBundleElement, error)

GetOwnedBundleElement calls GET /admin/customFieldSettings/bundles/ownedField/{id}/values/{ownedBundleElementId}.

This resource lets you work with the values in a specific set of owned values (owned bundle).

Response: single OwnedBundleElement.

func (*Client) GetProject

func (c *Client) GetProject(ctx context.Context, r GetProjectRequest) (*Project, error)

GetProject calls GET /admin/projects/{id}.

This resource provides access to projects.

Response: single Project.

func (*Client) GetProjectAtIssuesByIDProject

func (c *Client) GetProjectAtIssuesByIDProject(ctx context.Context, r GetProjectAtIssuesByIDProjectRequest) (*Project, error)

GetProjectAtIssuesByIDProject calls GET /issues/{id}/project.

This resource lets you read the project where the issue belongs, and move the issue to another project.

Response: single Project.

func (*Client) GetProjectCustomField

func (c *Client) GetProjectCustomField(ctx context.Context, r GetProjectCustomFieldRequest) (ProjectCustomField, error)

GetProjectCustomField calls GET /admin/projects/{id}/customFields/{projectCustomFieldId}.

This resource lets you access and configure custom fields in the specific project.

Response: single ProjectCustomField.

func (*Client) GetProjectTeam

func (c *Client) GetProjectTeam(ctx context.Context, r GetProjectTeamRequest) (*ProjectTeam, error)

GetProjectTeam calls GET /admin/projects/{id}/team.

This resource lets you read and update the project team.

Response: single ProjectTeam.

func (*Client) GetProjectTimeTrackingSettings

func (c *Client) GetProjectTimeTrackingSettings(ctx context.Context, r GetProjectTimeTrackingSettingsRequest) (*ProjectTimeTrackingSettings, error)

GetProjectTimeTrackingSettings calls GET /admin/projects/{id}/timeTrackingSettings.

This resource lets you configure the time tracking settings for the specific project.

Response: single ProjectTimeTrackingSettings.

func (*Client) GetReaction

func (c *Client) GetReaction(ctx context.Context, r GetReactionRequest) (*Reaction, error)

GetReaction calls GET /articles/{id}/comments/{articleCommentId}/reactions/{reactionId}.

This resource lets you work with reactions to an article comment.

Response: single Reaction.

func (*Client) GetReactionAtIssuesByIDCommentsByIssueCommentIDReactionsByReactionID

func (c *Client) GetReactionAtIssuesByIDCommentsByIssueCommentIDReactionsByReactionID(ctx context.Context, r GetReactionAtIssuesByIDCommentsByIssueCommentIDReactionsByReactionIDRequest) (*Reaction, error)

GetReactionAtIssuesByIDCommentsByIssueCommentIDReactionsByReactionID calls GET /issues/{id}/comments/{issueCommentId}/reactions/{reactionId}.

This resource lets you work with reactions to an issue comment.

Response: single Reaction.

func (*Client) GetRestCorsSettings

func (c *Client) GetRestCorsSettings(ctx context.Context, r GetRestCorsSettingsRequest) (*RestCorsSettings, error)

GetRestCorsSettings calls GET /admin/globalSettings/restSettings.

This resource lets you work with the Resource Sharing settings of your YouTrack service.

Response: single RestCorsSettings.

func (*Client) GetRole

func (c *Client) GetRole(ctx context.Context, r GetRoleRequest) (*Role, error)

GetRole calls GET /roles/{id}.

Response: single Role.

func (*Client) GetSavedQuery

func (c *Client) GetSavedQuery(ctx context.Context, r GetSavedQueryRequest) (*SavedQuery, error)

GetSavedQuery calls GET /savedQueries/{id}.

This resource lets you access and work with saved searches in YouTrack.

Response: single SavedQuery.

func (*Client) GetSprint

func (c *Client) GetSprint(ctx context.Context, r GetSprintRequest) (*Sprint, error)

GetSprint calls GET /agiles/{id}/sprints/{sprintId}.

This resource lets you work with sprints of the specific agile board.

Response: single Sprint.

func (*Client) GetStateBundle

func (c *Client) GetStateBundle(ctx context.Context, r GetStateBundleRequest) (*StateBundle, error)

GetStateBundle calls GET /admin/customFieldSettings/bundles/state/{id}.

This resource provides operations with sets of values of the `state` type.

Response: single StateBundle.

func (*Client) GetStateBundleElement

func (c *Client) GetStateBundleElement(ctx context.Context, r GetStateBundleElementRequest) (*StateBundleElement, error)

GetStateBundleElement calls GET /admin/customFieldSettings/bundles/state/{id}/values/{stateBundleElementId}.

This resource lets you work with the values in a specific set of states (state bundle).

Response: single StateBundleElement.

func (*Client) GetSystemSettings

func (c *Client) GetSystemSettings(ctx context.Context, r GetSystemSettingsRequest) (*SystemSettings, error)

GetSystemSettings calls GET /admin/globalSettings/systemSettings.

This resource lets you work with the System settings of your YouTrack service.

Response: single SystemSettings.

func (*Client) GetTag

func (c *Client) GetTag(ctx context.Context, r GetTagRequest) (*Tag, error)

GetTag calls GET /tags/{id}.

This resource lets you access and work with tags in YouTrack.

Response: single Tag.

func (*Client) GetTagAtArticlesByIDTagsByTagID

func (c *Client) GetTagAtArticlesByIDTagsByTagID(ctx context.Context, r GetTagAtArticlesByIDTagsByTagIDRequest) (*Tag, error)

GetTagAtArticlesByIDTagsByTagID calls GET /articles/{id}/tags/{tagId}.

This sub-resource lets you work with the tags that are added to the specific article.

Response: single Tag.

func (*Client) GetTagAtIssuesByIDTagsByTagID

func (c *Client) GetTagAtIssuesByIDTagsByTagID(ctx context.Context, r GetTagAtIssuesByIDTagsByTagIDRequest) (*Tag, error)

GetTagAtIssuesByIDTagsByTagID calls GET /issues/{id}/tags/{tagId}.

This sub-resource lets you work with the tags that are added to the specific issue.

Response: single Tag.

func (*Client) GetTelemetry

func (c *Client) GetTelemetry(ctx context.Context, r GetTelemetryRequest) (*Telemetry, error)

GetTelemetry calls GET /admin/telemetry.

This resource lets you get telemetry data of your YouTrack service.

Response: single Telemetry.

func (*Client) GetTimeTrackingUserProfile

func (c *Client) GetTimeTrackingUserProfile(ctx context.Context, r GetTimeTrackingUserProfileRequest) (*TimeTrackingUserProfile, error)

GetTimeTrackingUserProfile calls GET /users/{id}/profiles/timetracking.

This resource lets you configure the time tracking settings in the user's profile.

Response: single TimeTrackingUserProfile.

func (*Client) GetUser

func (c *Client) GetUser(ctx context.Context, r GetUserRequest) (*User, error)

GetUser calls GET /users/{id}.

Response: single User.

func (*Client) GetUserAtAdminCustomFieldSettingsBundlesUserByIDIndividualsByUserID

func (c *Client) GetUserAtAdminCustomFieldSettingsBundlesUserByIDIndividualsByUserID(ctx context.Context, r GetUserAtAdminCustomFieldSettingsBundlesUserByIDIndividualsByUserIDRequest) (*User, error)

GetUserAtAdminCustomFieldSettingsBundlesUserByIDIndividualsByUserID calls GET /admin/customFieldSettings/bundles/user/{id}/individuals/{userId}.

This resource lets you work with the user accounts that were added individually to a specific set of users (user bundle).

Response: single User.

func (*Client) GetUserBundle

func (c *Client) GetUserBundle(ctx context.Context, r GetUserBundleRequest) (*UserBundle, error)

GetUserBundle calls GET /admin/customFieldSettings/bundles/user/{id}.

This resource lets you work with the sets of users in YouTrack.

Response: single UserBundle.

func (*Client) GetUserGroup

func (c *Client) GetUserGroup(ctx context.Context, r GetUserGroupRequest) (*UserGroup, error)

GetUserGroup calls GET /groups/{id}.

Response: single UserGroup.

func (*Client) GetUserGroupAtAdminCustomFieldSettingsBundlesUserByIDGroupsByUserGroupID

func (c *Client) GetUserGroupAtAdminCustomFieldSettingsBundlesUserByIDGroupsByUserGroupID(ctx context.Context, r GetUserGroupAtAdminCustomFieldSettingsBundlesUserByIDGroupsByUserGroupIDRequest) (*UserGroup, error)

GetUserGroupAtAdminCustomFieldSettingsBundlesUserByIDGroupsByUserGroupID calls GET /admin/customFieldSettings/bundles/user/{id}/groups/{userGroupId}.

This resource lets you work with the user groups that are added to the specific set of users.

Response: single UserGroup.

func (*Client) GetVcsChange

func (c *Client) GetVcsChange(ctx context.Context, r GetVcsChangeRequest) (*VcsChange, error)

GetVcsChange calls GET /issues/{id}/vcsChanges/{vcsChangeId}.

Response: single VcsChange.

func (*Client) GetVersionBundle

func (c *Client) GetVersionBundle(ctx context.Context, r GetVersionBundleRequest) (*VersionBundle, error)

GetVersionBundle calls GET /admin/customFieldSettings/bundles/version/{id}.

This resource provides operations with version bundles. Version bundles are used as the set of allowed values for custom fields of the `version` type.

Response: single VersionBundle.

func (*Client) GetVersionBundleElement

func (c *Client) GetVersionBundleElement(ctx context.Context, r GetVersionBundleElementRequest) (*VersionBundleElement, error)

GetVersionBundleElement calls GET /admin/customFieldSettings/bundles/version/{id}/values/{versionBundleElementId}.

This resource lets you work with the version values in a specific set of versions (version bundle).

Response: single VersionBundleElement.

func (*Client) GetWorkItemType

func (c *Client) GetWorkItemType(ctx context.Context, r GetWorkItemTypeRequest) (*WorkItemType, error)

GetWorkItemType calls GET /admin/timeTrackingSettings/workItemTypes/{workItemTypeId}.

This resource lets you read, update, and delete types of work items.

Response: single WorkItemType.

func (*Client) GetWorkItemTypeAtAdminProjectsByIDTimeTrackingSettingsWorkItemTypesByWorkItemTypeID

func (c *Client) GetWorkItemTypeAtAdminProjectsByIDTimeTrackingSettingsWorkItemTypesByWorkItemTypeID(ctx context.Context, r GetWorkItemTypeAtAdminProjectsByIDTimeTrackingSettingsWorkItemTypesByWorkItemTypeIDRequest) (*WorkItemType, error)

GetWorkItemTypeAtAdminProjectsByIDTimeTrackingSettingsWorkItemTypesByWorkItemTypeID calls GET /admin/projects/{id}/timeTrackingSettings/workItemTypes/{workItemTypeId}.

This resource lets you configure work item types of the project.

Response: single WorkItemType.

func (*Client) GetWorkTimeSettings

func (c *Client) GetWorkTimeSettings(ctx context.Context, r GetWorkTimeSettingsRequest) (*WorkTimeSettings, error)

GetWorkTimeSettings calls GET /admin/timeTrackingSettings/workTimeSettings.

This resource lets you configure the system-wide work time settings.

Response: single WorkTimeSettings.

func (*Client) ListActivityItems

func (c *Client) ListActivityItems(ctx context.Context, r ListActivityItemsRequest) ([]ActivityItem, error)

ListActivityItems calls GET /activities.

This resource provides access to the activities with the possibility to filter them by various parameters.

Response: collection of ActivityItem.

func (*Client) ListActivityItemsAtIssuesByIDActivities

func (c *Client) ListActivityItemsAtIssuesByIDActivities(ctx context.Context, r ListActivityItemsAtIssuesByIDActivitiesRequest) ([]ActivityItem, error)

ListActivityItemsAtIssuesByIDActivities calls GET /issues/{id}/activities.

This resource lets you get the history of operations for a specific issue. It provides access to the issue activities with the possibility to filter them by various parameters.

Response: collection of ActivityItem.

func (*Client) ListAgiles

func (c *Client) ListAgiles(ctx context.Context, r ListAgilesRequest) ([]Agile, error)

ListAgiles calls GET /agiles.

This resource lets you work with agile boards in YouTrack using the REST API.

Response: collection of Agile.

func (*Client) ListArticleAttachments

func (c *Client) ListArticleAttachments(ctx context.Context, r ListArticleAttachmentsRequest) ([]ArticleAttachment, error)

ListArticleAttachments calls GET /articles/{id}/attachments.

This resource lets you work with attachments in a specific article.

Response: collection of ArticleAttachment.

func (*Client) ListArticleComments

func (c *Client) ListArticleComments(ctx context.Context, r ListArticleCommentsRequest) ([]ArticleComment, error)

ListArticleComments calls GET /articles/{id}/comments.

This resource lets you work with comments to an article.

Response: collection of ArticleComment.

func (*Client) ListArticles

func (c *Client) ListArticles(ctx context.Context, r ListArticlesRequest) ([]Article, error)

ListArticles calls GET /articles.

This resource lets you access articles in the YouTrack knowledge base.

Response: collection of Article.

func (*Client) ListArticlesAtAdminProjectsByIDArticles

func (c *Client) ListArticlesAtAdminProjectsByIDArticles(ctx context.Context, r ListArticlesAtAdminProjectsByIDArticlesRequest) ([]Article, error)

ListArticlesAtAdminProjectsByIDArticles calls GET /admin/projects/{id}/articles.

This resource lets you work with articles that belong to the project.

Response: collection of Article.

func (*Client) ListArticlesAtArticlesByIDChildArticles

func (c *Client) ListArticlesAtArticlesByIDChildArticles(ctx context.Context, r ListArticlesAtArticlesByIDChildArticlesRequest) ([]Article, error)

ListArticlesAtArticlesByIDChildArticles calls GET /articles/{id}/childArticles.

This resource lets you work with the sub-articles of the current article.

Response: collection of Article.

func (*Client) ListAssignedRoles

func (c *Client) ListAssignedRoles(ctx context.Context, r ListAssignedRolesRequest) ([]AssignedRole, error)

ListAssignedRoles calls GET /assignedRoles.

Response: collection of AssignedRole.

func (*Client) ListBackupFiles

func (c *Client) ListBackupFiles(ctx context.Context, r ListBackupFilesRequest) ([]BackupFile, error)

ListBackupFiles calls GET /admin/databaseBackup/backups.

This resource lets you access the database backup files. The user account that performs the operation must have Low-level Read Administration permissions.

Response: collection of BackupFile.

func (*Client) ListBuildBundleElements

func (c *Client) ListBuildBundleElements(ctx context.Context, r ListBuildBundleElementsRequest) ([]BuildBundleElement, error)

ListBuildBundleElements calls GET /admin/customFieldSettings/bundles/build/{id}/values.

This resource lets you work with the values in a specific set of builds (build bundle).

Response: collection of BuildBundleElement.

func (*Client) ListBuildBundles

func (c *Client) ListBuildBundles(ctx context.Context, r ListBuildBundlesRequest) ([]BuildBundle, error)

ListBuildBundles calls GET /admin/customFieldSettings/bundles/build.

This resource provides operations with sets of builds.

Response: collection of BuildBundle.

func (*Client) ListCustomFields

func (c *Client) ListCustomFields(ctx context.Context, r ListCustomFieldsRequest) ([]CustomField, error)

ListCustomFields calls GET /admin/customFieldSettings/customFields.

This resource lets you work with the custom fields. In the old REST API we called them "prototypes".

Response: collection of CustomField.

func (*Client) ListEnumBundleElements

func (c *Client) ListEnumBundleElements(ctx context.Context, r ListEnumBundleElementsRequest) ([]EnumBundleElement, error)

ListEnumBundleElements calls GET /admin/customFieldSettings/bundles/enum/{id}/values.

This resource lets you work with the values in a specific set of enumerated values (enum bundle).

Response: collection of EnumBundleElement.

func (*Client) ListEnumBundles

func (c *Client) ListEnumBundles(ctx context.Context, r ListEnumBundlesRequest) ([]EnumBundle, error)

ListEnumBundles calls GET /admin/customFieldSettings/bundles/enum.

This resource lets you work with a set of values of the `enum` type.

Response: collection of EnumBundle.

func (*Client) ListFieldTypes

func (c *Client) ListFieldTypes(ctx context.Context, r ListFieldTypesRequest) ([]FieldType, error)

ListFieldTypes calls GET /admin/customFieldSettings/types.

This resource lets you read the list of supported types of custom fields in YouTrack.

Response: collection of FieldType.

func (*Client) ListIssueAttachments

func (c *Client) ListIssueAttachments(ctx context.Context, r ListIssueAttachmentsRequest) ([]IssueAttachment, error)

ListIssueAttachments calls GET /issues/{id}/attachments.

This resource lets you work with attachments in the specific issue.

Response: collection of IssueAttachment.

func (*Client) ListIssueComments

func (c *Client) ListIssueComments(ctx context.Context, r ListIssueCommentsRequest) ([]IssueComment, error)

ListIssueComments calls GET /issues/{id}/comments.

This resource lets you work with comments of an issue.

Response: collection of IssueComment.

func (*Client) ListIssueCustomFields

func (c *Client) ListIssueCustomFields(ctx context.Context, r ListIssueCustomFieldsRequest) ([]IssueCustomField, error)

ListIssueCustomFields calls GET /issues/{id}/customFields.

This resource lets you work with custom fields of the issue.

Response: collection of IssueCustomField.

func (*Client) ListIssueLinkTypes

func (c *Client) ListIssueLinkTypes(ctx context.Context, r ListIssueLinkTypesRequest) ([]IssueLinkType, error)

ListIssueLinkTypes calls GET /issueLinkTypes.

This resource provides operations with issue link types.

Response: collection of IssueLinkType.

func (c *Client) ListIssueLinks(ctx context.Context, r ListIssueLinksRequest) ([]IssueLink, error)

ListIssueLinks calls GET /issues/{id}/links.

This resource lets you read links of the issue.

Response: collection of IssueLink.

func (*Client) ListIssueWorkItems

func (c *Client) ListIssueWorkItems(ctx context.Context, r ListIssueWorkItemsRequest) ([]IssueWorkItem, error)

ListIssueWorkItems calls GET /workItems.

Resource that provides access to work items.

Response: collection of IssueWorkItem.

func (*Client) ListIssueWorkItemsAtIssuesByIDTimeTrackingWorkItems

func (c *Client) ListIssueWorkItemsAtIssuesByIDTimeTrackingWorkItems(ctx context.Context, r ListIssueWorkItemsAtIssuesByIDTimeTrackingWorkItemsRequest) ([]IssueWorkItem, error)

ListIssueWorkItemsAtIssuesByIDTimeTrackingWorkItems calls GET /issues/{id}/timeTracking/workItems.

This resource lets you work with work items in the specific issue.

Response: collection of IssueWorkItem.

func (*Client) ListIssues

func (c *Client) ListIssues(ctx context.Context, r ListIssuesRequest) ([]Issue, error)

ListIssues calls GET /issues.

Resource that provides access to issues.

Response: collection of Issue.

func (*Client) ListIssuesAtAdminProjectsByIDIssues

func (c *Client) ListIssuesAtAdminProjectsByIDIssues(ctx context.Context, r ListIssuesAtAdminProjectsByIDIssuesRequest) ([]Issue, error)

ListIssuesAtAdminProjectsByIDIssues calls GET /admin/projects/{id}/issues.

This resource lets you work with issues within the particular project.

Response: collection of Issue.

func (*Client) ListIssuesAtIssuesByIDLinksByIssueLinkIDIssues

func (c *Client) ListIssuesAtIssuesByIDLinksByIssueLinkIDIssues(ctx context.Context, r ListIssuesAtIssuesByIDLinksByIssueLinkIDIssuesRequest) ([]Issue, error)

ListIssuesAtIssuesByIDLinksByIssueLinkIDIssues calls GET /issues/{id}/links/{issueLinkId}/issues.

This resource lets you read, add, and remove links to other issues for the current one.

Response: collection of Issue.

func (*Client) ListIssuesAtTagsByIDIssues

func (c *Client) ListIssuesAtTagsByIDIssues(ctx context.Context, r ListIssuesAtTagsByIDIssuesRequest) ([]Issue, error)

ListIssuesAtTagsByIDIssues calls GET /tags/{id}/issues.

This resource lets you get a list of issues that the specific tag is added to.

The default issue sorting is `sort by: updated desc`.If you don't provide the `$top` parameter, the number of returned issues is limited to the Max issues to export value in the Global Settings of your YouTrack.

Response: collection of Issue.

func (*Client) ListNestedGroups

func (c *Client) ListNestedGroups(ctx context.Context, r ListNestedGroupsRequest) ([]NestedGroup, error)

ListNestedGroups calls GET /groups/{id}/subGroups.

The subgroups of the user group.

Response: collection of NestedGroup.

func (*Client) ListOrganizations

func (c *Client) ListOrganizations(ctx context.Context, r ListOrganizationsRequest) ([]Organization, error)

ListOrganizations calls GET /admin/organizations.

This resource lets you work with organizations in YouTrack.

Response: collection of Organization.

func (*Client) ListOwnedBundleElements

func (c *Client) ListOwnedBundleElements(ctx context.Context, r ListOwnedBundleElementsRequest) ([]OwnedBundleElement, error)

ListOwnedBundleElements calls GET /admin/customFieldSettings/bundles/ownedField/{id}/values.

This resource lets you work with the values in a specific set of owned values (owned bundle).

Response: collection of OwnedBundleElement.

func (*Client) ListOwnedBundles

func (c *Client) ListOwnedBundles(ctx context.Context, r ListOwnedBundlesRequest) ([]OwnedBundle, error)

ListOwnedBundles calls GET /admin/customFieldSettings/bundles/ownedField.

This resource provides operations with owned field bundles.

Response: collection of OwnedBundle.

func (*Client) ListPermissions

func (c *Client) ListPermissions(ctx context.Context, r ListPermissionsRequest) ([]Permission, error)

ListPermissions calls GET /permissions.

Response: collection of Permission.

func (*Client) ListProjectCustomFields

func (c *Client) ListProjectCustomFields(ctx context.Context, r ListProjectCustomFieldsRequest) ([]ProjectCustomField, error)

ListProjectCustomFields calls GET /admin/projects/{id}/customFields.

This resource lets you access and configure custom fields in the specific project.

Response: collection of ProjectCustomField.

func (*Client) ListProjectCustomFieldsAtAdminCustomFieldSettingsCustomFieldsByIDInstances

func (c *Client) ListProjectCustomFieldsAtAdminCustomFieldSettingsCustomFieldsByIDInstances(ctx context.Context, r ListProjectCustomFieldsAtAdminCustomFieldSettingsCustomFieldsByIDInstancesRequest) ([]ProjectCustomField, error)

ListProjectCustomFieldsAtAdminCustomFieldSettingsCustomFieldsByIDInstances calls GET /admin/customFieldSettings/customFields/{id}/instances.

This resource lets you read a so called instances of the custom fields - settings of the custom field in each project that uses it.

Response: collection of ProjectCustomField.

func (*Client) ListProjects

func (c *Client) ListProjects(ctx context.Context, r ListProjectsRequest) ([]Project, error)

ListProjects calls GET /admin/projects.

This resource provides access to projects.

Response: collection of Project.

func (*Client) ListReactions

func (c *Client) ListReactions(ctx context.Context, r ListReactionsRequest) ([]Reaction, error)

ListReactions calls GET /articles/{id}/comments/{articleCommentId}/reactions.

This resource lets you work with reactions to an article comment.

Response: collection of Reaction.

func (*Client) ListReactionsAtIssuesByIDCommentsByIssueCommentIDReactions

func (c *Client) ListReactionsAtIssuesByIDCommentsByIssueCommentIDReactions(ctx context.Context, r ListReactionsAtIssuesByIDCommentsByIssueCommentIDReactionsRequest) ([]Reaction, error)

ListReactionsAtIssuesByIDCommentsByIssueCommentIDReactions calls GET /issues/{id}/comments/{issueCommentId}/reactions.

This resource lets you work with reactions to an issue comment.

Response: collection of Reaction.

func (*Client) ListRoles

func (c *Client) ListRoles(ctx context.Context, r ListRolesRequest) ([]Role, error)

ListRoles calls GET /roles.

Response: collection of Role.

func (*Client) ListSavedQueries

func (c *Client) ListSavedQueries(ctx context.Context, r ListSavedQueriesRequest) ([]SavedQuery, error)

ListSavedQueries calls GET /savedQueries.

This resource lets you access and work with saved searches in YouTrack.

Response: collection of SavedQuery.

func (*Client) ListSavedQueriesAtUsersByIDSavedQueries

func (c *Client) ListSavedQueriesAtUsersByIDSavedQueries(ctx context.Context, r ListSavedQueriesAtUsersByIDSavedQueriesRequest) ([]SavedQuery, error)

ListSavedQueriesAtUsersByIDSavedQueries calls GET /users/{id}/savedQueries.

This resource lets you get the list of saved searches that the specific user created.

Response: collection of SavedQuery.

func (*Client) ListSprints

func (c *Client) ListSprints(ctx context.Context, r ListSprintsRequest) ([]Sprint, error)

ListSprints calls GET /agiles/{id}/sprints.

This resource lets you work with sprints of the specific agile board.

Response: collection of Sprint.

func (*Client) ListSprintsAtIssuesByIDSprints

func (c *Client) ListSprintsAtIssuesByIDSprints(ctx context.Context, r ListSprintsAtIssuesByIDSprintsRequest) ([]Sprint, error)

ListSprintsAtIssuesByIDSprints calls GET /issues/{id}/sprints.

This resource lets you work with the sprints where the issue belongs.

Response: collection of Sprint.

func (*Client) ListStateBundleElements

func (c *Client) ListStateBundleElements(ctx context.Context, r ListStateBundleElementsRequest) ([]StateBundleElement, error)

ListStateBundleElements calls GET /admin/customFieldSettings/bundles/state/{id}/values.

This resource lets you work with the values in a specific set of states (state bundle).

Response: collection of StateBundleElement.

func (*Client) ListStateBundles

func (c *Client) ListStateBundles(ctx context.Context, r ListStateBundlesRequest) ([]StateBundle, error)

ListStateBundles calls GET /admin/customFieldSettings/bundles/state.

This resource provides operations with sets of values of the `state` type.

Response: collection of StateBundle.

func (*Client) ListTags

func (c *Client) ListTags(ctx context.Context, r ListTagsRequest) ([]Tag, error)

ListTags calls GET /tags.

This resource lets you access and work with tags in YouTrack.

Response: collection of Tag.

func (*Client) ListTagsAtArticlesByIDTags

func (c *Client) ListTagsAtArticlesByIDTags(ctx context.Context, r ListTagsAtArticlesByIDTagsRequest) ([]Tag, error)

ListTagsAtArticlesByIDTags calls GET /articles/{id}/tags.

This sub-resource lets you work with the tags that are added to the specific article.

Response: collection of Tag.

func (*Client) ListTagsAtIssuesByIDTags

func (c *Client) ListTagsAtIssuesByIDTags(ctx context.Context, r ListTagsAtIssuesByIDTagsRequest) ([]Tag, error)

ListTagsAtIssuesByIDTags calls GET /issues/{id}/tags.

This sub-resource lets you work with the tags that are added to the specific issue.

Response: collection of Tag.

func (*Client) ListTagsAtUsersByIDTags

func (c *Client) ListTagsAtUsersByIDTags(ctx context.Context, r ListTagsAtUsersByIDTagsRequest) ([]Tag, error)

ListTagsAtUsersByIDTags calls GET /users/{id}/tags.

This resource lets you work with tags that belong to specific user.

Response: collection of Tag.

func (*Client) ListUserBundles

func (c *Client) ListUserBundles(ctx context.Context, r ListUserBundlesRequest) ([]UserBundle, error)

ListUserBundles calls GET /admin/customFieldSettings/bundles/user.

This resource lets you work with the sets of users in YouTrack.

Response: collection of UserBundle.

func (*Client) ListUserGroups

func (c *Client) ListUserGroups(ctx context.Context, r ListUserGroupsRequest) ([]UserGroup, error)

ListUserGroups calls GET /groups.

Response: collection of UserGroup.

func (*Client) ListUserGroupsAtAdminCustomFieldSettingsBundlesUserByIDGroups

func (c *Client) ListUserGroupsAtAdminCustomFieldSettingsBundlesUserByIDGroups(ctx context.Context, r ListUserGroupsAtAdminCustomFieldSettingsBundlesUserByIDGroupsRequest) ([]UserGroup, error)

ListUserGroupsAtAdminCustomFieldSettingsBundlesUserByIDGroups calls GET /admin/customFieldSettings/bundles/user/{id}/groups.

This resource lets you work with the user groups that are added to the specific set of users.

Response: collection of UserGroup.

func (*Client) ListUserGroupsAtAdminProjectsByIDTeamGroups

func (c *Client) ListUserGroupsAtAdminProjectsByIDTeamGroups(ctx context.Context, r ListUserGroupsAtAdminProjectsByIDTeamGroupsRequest) ([]UserGroup, error)

ListUserGroupsAtAdminProjectsByIDTeamGroups calls GET /admin/projects/{id}/team/groups.

This resource lets you work with the groups added to the project team.

Response: collection of UserGroup.

func (*Client) ListUsers

func (c *Client) ListUsers(ctx context.Context, r ListUsersRequest) ([]User, error)

ListUsers calls GET /users.

Response: collection of User.

func (*Client) ListUsersAtAdminCustomFieldSettingsBundlesUserByIDAggregatedUsers

func (c *Client) ListUsersAtAdminCustomFieldSettingsBundlesUserByIDAggregatedUsers(ctx context.Context, r ListUsersAtAdminCustomFieldSettingsBundlesUserByIDAggregatedUsersRequest) ([]User, error)

ListUsersAtAdminCustomFieldSettingsBundlesUserByIDAggregatedUsers calls GET /admin/customFieldSettings/bundles/user/{id}/aggregatedUsers.

This resource lets you read the list of all users that the specific bundle contains, both that were added as members of groups and individually.

Response: collection of User.

func (*Client) ListUsersAtAdminCustomFieldSettingsBundlesUserByIDIndividuals

func (c *Client) ListUsersAtAdminCustomFieldSettingsBundlesUserByIDIndividuals(ctx context.Context, r ListUsersAtAdminCustomFieldSettingsBundlesUserByIDIndividualsRequest) ([]User, error)

ListUsersAtAdminCustomFieldSettingsBundlesUserByIDIndividuals calls GET /admin/customFieldSettings/bundles/user/{id}/individuals.

This resource lets you work with the user accounts that were added individually to a specific set of users (user bundle).

Response: collection of User.

func (*Client) ListUsersAtAdminProjectsByIDTeamOwnUsers

func (c *Client) ListUsersAtAdminProjectsByIDTeamOwnUsers(ctx context.Context, r ListUsersAtAdminProjectsByIDTeamOwnUsersRequest) ([]User, error)

ListUsersAtAdminProjectsByIDTeamOwnUsers calls GET /admin/projects/{id}/team/ownUsers.

This resource lets you work with the users added to the project team directly.

Response: collection of User.

func (*Client) ListUsersAtAdminProjectsByIDTeamUsers

func (c *Client) ListUsersAtAdminProjectsByIDTeamUsers(ctx context.Context, r ListUsersAtAdminProjectsByIDTeamUsersRequest) ([]User, error)

ListUsersAtAdminProjectsByIDTeamUsers calls GET /admin/projects/{id}/team/users.

This resource lets you read the users in the project team.

Response: collection of User.

func (*Client) ListUsersAtGroupsByIDOwnUsers

func (c *Client) ListUsersAtGroupsByIDOwnUsers(ctx context.Context, r ListUsersAtGroupsByIDOwnUsersRequest) ([]User, error)

ListUsersAtGroupsByIDOwnUsers calls GET /groups/{id}/ownUsers.

This resource lets you work with the users added to the user group directly.

Response: collection of User.

func (*Client) ListUsersAtGroupsByIDUsers

func (c *Client) ListUsersAtGroupsByIDUsers(ctx context.Context, r ListUsersAtGroupsByIDUsersRequest) ([]User, error)

ListUsersAtGroupsByIDUsers calls GET /groups/{id}/users.

This resource lets you work with the users in the group.

Response: collection of User.

func (*Client) ListVcsChanges

func (c *Client) ListVcsChanges(ctx context.Context, r ListVcsChangesRequest) ([]VcsChange, error)

ListVcsChanges calls GET /issues/{id}/vcsChanges.

Response: collection of VcsChange.

func (*Client) ListVersionBundleElements

func (c *Client) ListVersionBundleElements(ctx context.Context, r ListVersionBundleElementsRequest) ([]VersionBundleElement, error)

ListVersionBundleElements calls GET /admin/customFieldSettings/bundles/version/{id}/values.

This resource lets you work with the version values in a specific set of versions (version bundle).

Response: collection of VersionBundleElement.

func (*Client) ListVersionBundles

func (c *Client) ListVersionBundles(ctx context.Context, r ListVersionBundlesRequest) ([]VersionBundle, error)

ListVersionBundles calls GET /admin/customFieldSettings/bundles/version.

This resource provides operations with version bundles. Version bundles are used as the set of allowed values for custom fields of the `version` type.

Response: collection of VersionBundle.

func (*Client) ListWorkItemTypes

func (c *Client) ListWorkItemTypes(ctx context.Context, r ListWorkItemTypesRequest) ([]WorkItemType, error)

ListWorkItemTypes calls GET /admin/timeTrackingSettings/workItemTypes.

This resource lets you read, update, and delete types of work items.

Response: collection of WorkItemType.

func (*Client) ListWorkItemTypesAtAdminProjectsByIDTimeTrackingSettingsWorkItemTypes

func (c *Client) ListWorkItemTypesAtAdminProjectsByIDTimeTrackingSettingsWorkItemTypes(ctx context.Context, r ListWorkItemTypesAtAdminProjectsByIDTimeTrackingSettingsWorkItemTypesRequest) ([]WorkItemType, error)

ListWorkItemTypesAtAdminProjectsByIDTimeTrackingSettingsWorkItemTypes calls GET /admin/projects/{id}/timeTrackingSettings/workItemTypes.

This resource lets you configure work item types of the project.

Response: collection of WorkItemType.

func (*Client) UpdateAgile

func (c *Client) UpdateAgile(ctx context.Context, r UpdateAgileRequest) (*Agile, error)

UpdateAgile calls POST /agiles/{id}.

This resource lets you work with agile boards in YouTrack using the REST API.

Response: single Agile.

func (*Client) UpdateAppearanceSettings

func (c *Client) UpdateAppearanceSettings(ctx context.Context, r UpdateAppearanceSettingsRequest) (*AppearanceSettings, error)

UpdateAppearanceSettings calls POST /admin/globalSettings/appearanceSettings.

This resource lets you work with the Visual settings of your YouTrack service.

Response: single AppearanceSettings.

func (*Client) UpdateArticle

func (c *Client) UpdateArticle(ctx context.Context, r UpdateArticleRequest) (*Article, error)

UpdateArticle calls POST /articles/{id}.

This resource lets you access articles in the YouTrack knowledge base.

Response: single Article.

func (*Client) UpdateArticleAtArticlesByIDChildArticlesByArticleID

func (c *Client) UpdateArticleAtArticlesByIDChildArticlesByArticleID(ctx context.Context, r UpdateArticleAtArticlesByIDChildArticlesByArticleIDRequest) (*Article, error)

UpdateArticleAtArticlesByIDChildArticlesByArticleID calls POST /articles/{id}/childArticles/{articleId}.

This resource lets you work with the sub-articles of the current article.

Response: single Article.

func (*Client) UpdateArticleAttachment

func (c *Client) UpdateArticleAttachment(ctx context.Context, r UpdateArticleAttachmentRequest) (*ArticleAttachment, error)

UpdateArticleAttachment calls POST /articles/{id}/attachments/{articleAttachmentId}.

This resource lets you work with attachments in a specific article.

Response: single ArticleAttachment.

func (*Client) UpdateArticleComment

func (c *Client) UpdateArticleComment(ctx context.Context, r UpdateArticleCommentRequest) (*ArticleComment, error)

UpdateArticleComment calls POST /articles/{id}/comments/{articleCommentId}.

This resource lets you work with comments to an article.

Response: single ArticleComment.

func (*Client) UpdateAssignedRole

func (c *Client) UpdateAssignedRole(ctx context.Context, r UpdateAssignedRoleRequest) (*AssignedRole, error)

UpdateAssignedRole calls POST /assignedRoles/{id}.

Response: single AssignedRole.

func (*Client) UpdateBuildBundle

func (c *Client) UpdateBuildBundle(ctx context.Context, r UpdateBuildBundleRequest) (*BuildBundle, error)

UpdateBuildBundle calls POST /admin/customFieldSettings/bundles/build/{id}.

This resource provides operations with sets of builds.

Response: single BuildBundle.

func (*Client) UpdateBuildBundleElement

func (c *Client) UpdateBuildBundleElement(ctx context.Context, r UpdateBuildBundleElementRequest) (*BuildBundleElement, error)

UpdateBuildBundleElement calls POST /admin/customFieldSettings/bundles/build/{id}/values/{buildBundleElementId}.

This resource lets you work with the values in a specific set of builds (build bundle).

Response: single BuildBundleElement.

func (*Client) UpdateCustomField

func (c *Client) UpdateCustomField(ctx context.Context, r UpdateCustomFieldRequest) (*CustomField, error)

UpdateCustomField calls POST /admin/customFieldSettings/customFields/{id}.

This resource lets you work with the custom fields. In the old REST API we called them "prototypes".

Response: single CustomField.

func (*Client) UpdateCustomFieldDefaults

func (c *Client) UpdateCustomFieldDefaults(ctx context.Context, r UpdateCustomFieldDefaultsRequest) (CustomFieldDefaults, error)

UpdateCustomFieldDefaults calls POST /admin/customFieldSettings/customFields/{id}/fieldDefaults.

This resource lets you read and update default settings of a custom field in a project.

Response: single CustomFieldDefaults.

func (*Client) UpdateDatabaseBackupSettings

func (c *Client) UpdateDatabaseBackupSettings(ctx context.Context, r UpdateDatabaseBackupSettingsRequest) (*DatabaseBackupSettings, error)

UpdateDatabaseBackupSettings calls POST /admin/databaseBackup/settings.

This resource lets you configure settings of the database backup.

Response: single DatabaseBackupSettings.

func (*Client) UpdateEnumBundle

func (c *Client) UpdateEnumBundle(ctx context.Context, r UpdateEnumBundleRequest) (*EnumBundle, error)

UpdateEnumBundle calls POST /admin/customFieldSettings/bundles/enum/{id}.

This resource lets you work with a set of values of the `enum` type.

Response: single EnumBundle.

func (*Client) UpdateEnumBundleElement

func (c *Client) UpdateEnumBundleElement(ctx context.Context, r UpdateEnumBundleElementRequest) (*EnumBundleElement, error)

UpdateEnumBundleElement calls POST /admin/customFieldSettings/bundles/enum/{id}/values/{enumBundleElementId}.

This resource lets you work with the values in a specific set of enumerated values (enum bundle).

Response: single EnumBundleElement.

func (*Client) UpdateGeneralUserProfile

func (c *Client) UpdateGeneralUserProfile(ctx context.Context, r UpdateGeneralUserProfileRequest) (*GeneralUserProfile, error)

UpdateGeneralUserProfile calls POST /users/{id}/profiles/general.

This resource lets you read and update general settings in the YouTrack profile of the specified user.

Response: single GeneralUserProfile.

func (*Client) UpdateGlobalSettings

func (c *Client) UpdateGlobalSettings(ctx context.Context, r UpdateGlobalSettingsRequest) (*GlobalSettings, error)

UpdateGlobalSettings calls POST /admin/globalSettings.

Provides operations with global application settings.

Response: single GlobalSettings.

func (*Client) UpdateIssue

func (c *Client) UpdateIssue(ctx context.Context, r UpdateIssueRequest) (*Issue, error)

UpdateIssue calls POST /issues/{id}.

Resource that provides access to issues.

Response: single Issue.

func (*Client) UpdateIssueAtAdminProjectsByIDIssuesByIssueID

func (c *Client) UpdateIssueAtAdminProjectsByIDIssuesByIssueID(ctx context.Context, r UpdateIssueAtAdminProjectsByIDIssuesByIssueIDRequest) (*Issue, error)

UpdateIssueAtAdminProjectsByIDIssuesByIssueID calls POST /admin/projects/{id}/issues/{issueId}.

This resource lets you work with issues within the particular project.

Response: single Issue.

func (*Client) UpdateIssueAttachment

func (c *Client) UpdateIssueAttachment(ctx context.Context, r UpdateIssueAttachmentRequest) (*IssueAttachment, error)

UpdateIssueAttachment calls POST /issues/{id}/attachments/{issueAttachmentId}.

This resource lets you work with attachments in the specific issue.

Response: single IssueAttachment.

func (*Client) UpdateIssueComment

func (c *Client) UpdateIssueComment(ctx context.Context, r UpdateIssueCommentRequest) (*IssueComment, error)

UpdateIssueComment calls POST /issues/{id}/comments/{issueCommentId}.

This resource lets you work with comments of an issue.

Response: single IssueComment.

func (*Client) UpdateIssueCustomField

func (c *Client) UpdateIssueCustomField(ctx context.Context, r UpdateIssueCustomFieldRequest) (IssueCustomField, error)

UpdateIssueCustomField calls POST /issues/{id}/customFields/{issueCustomFieldId}.

This resource lets you work with custom fields of the issue.

Response: single IssueCustomField.

func (*Client) UpdateIssueLinkType

func (c *Client) UpdateIssueLinkType(ctx context.Context, r UpdateIssueLinkTypeRequest) (*IssueLinkType, error)

UpdateIssueLinkType calls POST /issueLinkTypes/{id}.

This resource provides operations with issue link types.

Response: single IssueLinkType.

func (*Client) UpdateIssueWorkItem

func (c *Client) UpdateIssueWorkItem(ctx context.Context, r UpdateIssueWorkItemRequest) (*IssueWorkItem, error)

UpdateIssueWorkItem calls POST /issues/{id}/timeTracking/workItems/{issueWorkItemId}.

This resource lets you work with work items in the specific issue.

Response: single IssueWorkItem.

func (*Client) UpdateLicense

func (c *Client) UpdateLicense(ctx context.Context, r UpdateLicenseRequest) (*License, error)

UpdateLicense calls POST /admin/globalSettings/license.

This resource lets you work with the license of your YouTrack service.

Response: single License.

func (*Client) UpdateLocaleSettings

func (c *Client) UpdateLocaleSettings(ctx context.Context, r UpdateLocaleSettingsRequest) (*LocaleSettings, error)

UpdateLocaleSettings calls POST /admin/globalSettings/localeSettings.

This resource lets you work with the system language settings of your YouTrack service.

Response: single LocaleSettings.

func (*Client) UpdateNotificationSettings

func (c *Client) UpdateNotificationSettings(ctx context.Context, r UpdateNotificationSettingsRequest) (*NotificationSettings, error)

UpdateNotificationSettings calls POST /admin/globalSettings/notificationSettings.

This resource lets you work with the notification settings of your YouTrack service: read and configure Email server settings to enable notifications to users.

Response: single NotificationSettings.

func (*Client) UpdateNotificationsUserProfile

func (c *Client) UpdateNotificationsUserProfile(ctx context.Context, r UpdateNotificationsUserProfileRequest) (*NotificationsUserProfile, error)

UpdateNotificationsUserProfile calls POST /users/{id}/profiles/notifications.

This resource lets you read and update notification settings in the profile of the specific user.

Response: single NotificationsUserProfile.

func (*Client) UpdateOrganization

func (c *Client) UpdateOrganization(ctx context.Context, r UpdateOrganizationRequest) (*Organization, error)

UpdateOrganization calls POST /admin/organizations/{id}.

This resource lets you work with organizations in YouTrack.

Response: single Organization.

func (*Client) UpdateOwnedBundle

func (c *Client) UpdateOwnedBundle(ctx context.Context, r UpdateOwnedBundleRequest) (*OwnedBundle, error)

UpdateOwnedBundle calls POST /admin/customFieldSettings/bundles/ownedField/{id}.

This resource provides operations with owned field bundles.

Response: single OwnedBundle.

func (*Client) UpdateOwnedBundleElement

func (c *Client) UpdateOwnedBundleElement(ctx context.Context, r UpdateOwnedBundleElementRequest) (*OwnedBundleElement, error)

UpdateOwnedBundleElement calls POST /admin/customFieldSettings/bundles/ownedField/{id}/values/{ownedBundleElementId}.

This resource lets you work with the values in a specific set of owned values (owned bundle).

Response: single OwnedBundleElement.

func (*Client) UpdateProject

func (c *Client) UpdateProject(ctx context.Context, r UpdateProjectRequest) (*Project, error)

UpdateProject calls POST /admin/projects/{id}.

This resource provides access to projects.

Response: single Project.

func (*Client) UpdateProjectAtIssuesByIDProject

func (c *Client) UpdateProjectAtIssuesByIDProject(ctx context.Context, r UpdateProjectAtIssuesByIDProjectRequest) (*Project, error)

UpdateProjectAtIssuesByIDProject calls POST /issues/{id}/project.

This resource lets you read the project where the issue belongs, and move the issue to another project.

Response: single Project.

func (*Client) UpdateProjectCustomField

func (c *Client) UpdateProjectCustomField(ctx context.Context, r UpdateProjectCustomFieldRequest) (ProjectCustomField, error)

UpdateProjectCustomField calls POST /admin/projects/{id}/customFields/{projectCustomFieldId}.

This resource lets you access and configure custom fields in the specific project.

Response: single ProjectCustomField.

func (*Client) UpdateProjectTeam

func (c *Client) UpdateProjectTeam(ctx context.Context, r UpdateProjectTeamRequest) (*ProjectTeam, error)

UpdateProjectTeam calls POST /admin/projects/{id}/team.

This resource lets you read and update the project team.

Response: single ProjectTeam.

func (*Client) UpdateProjectTimeTrackingSettings

func (c *Client) UpdateProjectTimeTrackingSettings(ctx context.Context, r UpdateProjectTimeTrackingSettingsRequest) (*ProjectTimeTrackingSettings, error)

UpdateProjectTimeTrackingSettings calls POST /admin/projects/{id}/timeTrackingSettings.

This resource lets you configure the time tracking settings for the specific project.

Response: single ProjectTimeTrackingSettings.

func (*Client) UpdateRestCorsSettings

func (c *Client) UpdateRestCorsSettings(ctx context.Context, r UpdateRestCorsSettingsRequest) (*RestCorsSettings, error)

UpdateRestCorsSettings calls POST /admin/globalSettings/restSettings.

This resource lets you work with the Resource Sharing settings of your YouTrack service.

Response: single RestCorsSettings.

func (*Client) UpdateRole

func (c *Client) UpdateRole(ctx context.Context, r UpdateRoleRequest) (*Role, error)

UpdateRole calls POST /roles/{id}.

Response: single Role.

func (*Client) UpdateSavedQuery

func (c *Client) UpdateSavedQuery(ctx context.Context, r UpdateSavedQueryRequest) (*SavedQuery, error)

UpdateSavedQuery calls POST /savedQueries/{id}.

This resource lets you access and work with saved searches in YouTrack.

Response: single SavedQuery.

func (*Client) UpdateSprint

func (c *Client) UpdateSprint(ctx context.Context, r UpdateSprintRequest) (*Sprint, error)

UpdateSprint calls POST /agiles/{id}/sprints/{sprintId}.

This resource lets you work with sprints of the specific agile board.

Response: single Sprint.

func (*Client) UpdateStateBundle

func (c *Client) UpdateStateBundle(ctx context.Context, r UpdateStateBundleRequest) (*StateBundle, error)

UpdateStateBundle calls POST /admin/customFieldSettings/bundles/state/{id}.

This resource provides operations with sets of values of the `state` type.

Response: single StateBundle.

func (*Client) UpdateStateBundleElement

func (c *Client) UpdateStateBundleElement(ctx context.Context, r UpdateStateBundleElementRequest) (*StateBundleElement, error)

UpdateStateBundleElement calls POST /admin/customFieldSettings/bundles/state/{id}/values/{stateBundleElementId}.

This resource lets you work with the values in a specific set of states (state bundle).

Response: single StateBundleElement.

func (*Client) UpdateSystemSettings

func (c *Client) UpdateSystemSettings(ctx context.Context, r UpdateSystemSettingsRequest) (*SystemSettings, error)

UpdateSystemSettings calls POST /admin/globalSettings/systemSettings.

This resource lets you work with the System settings of your YouTrack service.

Response: single SystemSettings.

func (*Client) UpdateTag

func (c *Client) UpdateTag(ctx context.Context, r UpdateTagRequest) (*Tag, error)

UpdateTag calls POST /tags/{id}.

This resource lets you access and work with tags in YouTrack.

Response: single Tag.

func (*Client) UpdateTimeTrackingUserProfile

func (c *Client) UpdateTimeTrackingUserProfile(ctx context.Context, r UpdateTimeTrackingUserProfileRequest) (*TimeTrackingUserProfile, error)

UpdateTimeTrackingUserProfile calls POST /users/{id}/profiles/timetracking.

This resource lets you configure the time tracking settings in the user's profile.

Response: single TimeTrackingUserProfile.

func (*Client) UpdateUser

func (c *Client) UpdateUser(ctx context.Context, r UpdateUserRequest) (*User, error)

UpdateUser calls POST /users/{id}.

Response: single User.

func (*Client) UpdateUserAtGroupsByIDOwnUsersByUserID

func (c *Client) UpdateUserAtGroupsByIDOwnUsersByUserID(ctx context.Context, r UpdateUserAtGroupsByIDOwnUsersByUserIDRequest) (*User, error)

UpdateUserAtGroupsByIDOwnUsersByUserID calls POST /groups/{id}/ownUsers/{userId}.

This resource lets you work with the users added to the user group directly.

Response: single User.

func (*Client) UpdateUserBundle

func (c *Client) UpdateUserBundle(ctx context.Context, r UpdateUserBundleRequest) (*UserBundle, error)

UpdateUserBundle calls POST /admin/customFieldSettings/bundles/user/{id}.

This resource lets you work with the sets of users in YouTrack.

Response: single UserBundle.

func (*Client) UpdateUserGroup

func (c *Client) UpdateUserGroup(ctx context.Context, r UpdateUserGroupRequest) (*UserGroup, error)

UpdateUserGroup calls POST /groups/{id}.

Response: single UserGroup.

func (*Client) UpdateVcsChange

func (c *Client) UpdateVcsChange(ctx context.Context, r UpdateVcsChangeRequest) (*VcsChange, error)

UpdateVcsChange calls POST /issues/{id}/vcsChanges/{vcsChangeId}.

Response: single VcsChange.

func (*Client) UpdateVersionBundle

func (c *Client) UpdateVersionBundle(ctx context.Context, r UpdateVersionBundleRequest) (*VersionBundle, error)

UpdateVersionBundle calls POST /admin/customFieldSettings/bundles/version/{id}.

This resource provides operations with version bundles. Version bundles are used as the set of allowed values for custom fields of the `version` type.

Response: single VersionBundle.

func (*Client) UpdateVersionBundleElement

func (c *Client) UpdateVersionBundleElement(ctx context.Context, r UpdateVersionBundleElementRequest) (*VersionBundleElement, error)

UpdateVersionBundleElement calls POST /admin/customFieldSettings/bundles/version/{id}/values/{versionBundleElementId}.

This resource lets you work with the version values in a specific set of versions (version bundle).

Response: single VersionBundleElement.

func (*Client) UpdateWorkItemType

func (c *Client) UpdateWorkItemType(ctx context.Context, r UpdateWorkItemTypeRequest) (*WorkItemType, error)

UpdateWorkItemType calls POST /admin/timeTrackingSettings/workItemTypes/{workItemTypeId}.

This resource lets you read, update, and delete types of work items.

Response: single WorkItemType.

func (*Client) UpdateWorkTimeSettings

func (c *Client) UpdateWorkTimeSettings(ctx context.Context, r UpdateWorkTimeSettingsRequest) (*WorkTimeSettings, error)

UpdateWorkTimeSettings calls POST /admin/timeTrackingSettings/workTimeSettings.

This resource lets you configure the system-wide work time settings.

Response: single WorkTimeSettings.

type ColorCoding

type ColorCoding interface {
}

ColorCoding: Describes rules that define which colors are used for cards on the agile board.

type ColumnSettings

type ColumnSettings struct {
	Columns []AgileColumn
	Field   *CustomField
	Id      *string
}

ColumnSettings: Agile board columns settings.

type CommandLimitedVisibility

type CommandLimitedVisibility struct {
	Id              *string
	PermittedGroups []UserGroup
	PermittedUsers  []User
}

CommandLimitedVisibility: Stores the restricted visibility settings for the command.

type CommandList

type CommandList struct {
	Caret       *int
	Commands    []ParsedCommand
	Comment     *string
	Id          *string
	Issues      []Issue
	Query       *string
	RunAs       *string
	Silent      *bool
	Suggestions []Suggestion
	Visibility  CommandVisibility
}

type CommandUnlimitedVisibility

type CommandUnlimitedVisibility struct {
	Id *string
}

CommandUnlimitedVisibility: Comment is visible for all the users who can read the issue.

type CommandVisibility

type CommandVisibility interface {
}

CommandVisibility: Visibility settings of the comment that is added along with the command.

type CommentActivityItem

type CommentActivityItem struct {
	Added        []IssueComment
	Author       *User
	Category     *ActivityCategory
	Field        FilterField
	Id           *string
	Removed      []IssueComment
	Target       *IssueComment
	TargetMember *string
	Timestamp    *time.Time
	AuthorGroup  *UserGroup
}

CommentActivityItem: Represents a change in the comments of an issue.

type CommentAttachmentsActivityItem

type CommentAttachmentsActivityItem struct {
	Added        []IssueAttachment
	Author       *User
	Category     *ActivityCategory
	Field        FilterField
	Id           *string
	Removed      []IssueAttachment
	Target       *IssueComment
	TargetMember *string
	Timestamp    *time.Time
}

CommentAttachmentsActivityItem: Represents a change in the `attachments` attribute of an IssueComment.

type CreateAgileRequest

type CreateAgileRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
	// Template: The name of the board template that should be used. Possible values: `kanban`,
	// `scrum`, `version`, `custom`, `personal`.
	Template string
	// Agile is the JSON request body.
	Agile Agile
}

CreateAgileRequest contains parameters for CreateAgile.

type CreateArticleAtArticlesByIDChildArticlesRequest

type CreateArticleAtArticlesByIDChildArticlesRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// MuteUpdateNotifications: Set this parameter to `true` if no notifications should be sent on
	// changes made by this request. This doesn't mute notifications sent by any workflow rules. Using
	// this parameter requires Apply Commands Silently permission in all projects affected by the
	// request. Available since 2021.3.
	MuteUpdateNotifications bool
	// Article is the JSON request body.
	//
	// Represents a base article entity.
	Article Article
}

CreateArticleAtArticlesByIDChildArticlesRequest contains parameters for CreateArticleAtArticlesByIDChildArticles.

type CreateArticleAttachmentRequest

type CreateArticleAttachmentRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// MuteUpdateNotifications: Set this parameter to `true` if no notifications should be sent on
	// changes made by this request. This doesn't mute notifications sent by any workflow rules. Using
	// this parameter requires Apply Commands Silently permission in all projects affected by the
	// request. Available since 2021.3.
	MuteUpdateNotifications bool
	// ArticleAttachment is the JSON request body.
	ArticleAttachment ArticleAttachment
}

CreateArticleAttachmentRequest contains parameters for CreateArticleAttachment.

type CreateArticleCommentRequest

type CreateArticleCommentRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// DraftID: The ID of an existing draft that should be published. This parameter is optional.
	DraftID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// MuteUpdateNotifications: Set this parameter to `true` if no notifications should be sent on
	// changes made by this request. This doesn't mute notifications sent by any workflow rules. Using
	// this parameter requires Apply Commands Silently permission in all projects affected by the
	// request. Available since 2021.3.
	MuteUpdateNotifications bool
	// ArticleComment is the JSON request body.
	ArticleComment ArticleComment
}

CreateArticleCommentRequest contains parameters for CreateArticleComment.

type CreateArticleRequest

type CreateArticleRequest struct {
	// DraftID: ID of a draft to publish as a new article. If no `draftId` is provided, the article is
	// created from scratch. In this case, you must specify the project in the request payload.
	DraftID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// MuteUpdateNotifications: Set this parameter to `true` if no notifications should be sent on
	// changes made by this request. This doesn't mute notifications sent by any workflow rules. Using
	// this parameter requires Apply Commands Silently permission in all projects affected by the
	// request. Available since 2021.3.
	MuteUpdateNotifications bool
	// Article is the JSON request body.
	//
	// Represents a base article entity.
	Article Article
}

CreateArticleRequest contains parameters for CreateArticle.

type CreateBuildBundleElementRequest

type CreateBuildBundleElementRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// BuildBundleElement is the JSON request body.
	//
	// Represents a field value in YouTrack.
	BuildBundleElement BuildBundleElement
}

CreateBuildBundleElementRequest contains parameters for CreateBuildBundleElement.

type CreateBuildBundleRequest

type CreateBuildBundleRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
	// BuildBundle is the JSON request body.
	//
	// Represents a set of field values in YouTrack.
	BuildBundle BuildBundle
}

CreateBuildBundleRequest contains parameters for CreateBuildBundle.

type CreateCommandListAtCommandsAssistRequest

type CreateCommandListAtCommandsAssistRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
	// CommandList is the JSON request body.
	CommandList CommandList
}

CreateCommandListAtCommandsAssistRequest contains parameters for CreateCommandListAtCommandsAssist.

type CreateCommandListRequest

type CreateCommandListRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
	// MuteUpdateNotifications: Set this parameter to `true` if no notifications should be sent on
	// changes made by this request. This doesn't mute notifications sent by any workflow rules. Using
	// this parameter requires Apply Commands Silently permission in all projects affected by the
	// request. Available since 2021.3.
	MuteUpdateNotifications bool
	// CommandList is the JSON request body.
	CommandList CommandList
}

CreateCommandListRequest contains parameters for CreateCommandList.

type CreateCustomFieldRequest

type CreateCustomFieldRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
	// CustomField is the JSON request body.
	CustomField CustomField
}

CreateCustomFieldRequest contains parameters for CreateCustomField.

type CreateEnumBundleElementRequest

type CreateEnumBundleElementRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// EnumBundleElement is the JSON request body.
	//
	// Represents field value that can be localized.
	EnumBundleElement EnumBundleElement
}

CreateEnumBundleElementRequest contains parameters for CreateEnumBundleElement.

type CreateEnumBundleRequest

type CreateEnumBundleRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
	// EnumBundle is the JSON request body.
	//
	// Represents a set of field values in YouTrack.
	EnumBundle EnumBundle
}

CreateEnumBundleRequest contains parameters for CreateEnumBundle.

type CreateIssueAtAdminProjectsByIDIssuesRequest

type CreateIssueAtAdminProjectsByIDIssuesRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// MuteUpdateNotifications: Set this parameter to `true` if no notifications should be sent on
	// changes made by this request. This doesn't mute notifications sent by any workflow rules. Using
	// this parameter requires Apply Commands Silently permission in all projects affected by the
	// request. Available since 2021.3.
	MuteUpdateNotifications bool
	// Issue is the JSON request body.
	Issue Issue
}

CreateIssueAtAdminProjectsByIDIssuesRequest contains parameters for CreateIssueAtAdminProjectsByIDIssues.

type CreateIssueAtIssuesByIDLinksByIssueLinkIDIssuesRequest

type CreateIssueAtIssuesByIDLinksByIssueLinkIDIssuesRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// IssueLinkID identifies a resource in the request path.
	IssueLinkID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// MuteUpdateNotifications: Set this parameter to `true` if no notifications should be sent on
	// changes made by this request. This doesn't mute notifications sent by any workflow rules. Using
	// this parameter requires Apply Commands Silently permission in all projects affected by the
	// request. Available since 2021.3.
	MuteUpdateNotifications bool
	// Issue is the JSON request body.
	Issue Issue
}

CreateIssueAtIssuesByIDLinksByIssueLinkIDIssuesRequest contains parameters for CreateIssueAtIssuesByIDLinksByIssueLinkIDIssues.

type CreateIssueAttachmentRequest

type CreateIssueAttachmentRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// MuteUpdateNotifications: Set this parameter to `true` if no notifications should be sent on
	// changes made by this request. This doesn't mute notifications sent by any workflow rules. Using
	// this parameter requires Apply Commands Silently permission in all projects affected by the
	// request. Available since 2021.3.
	MuteUpdateNotifications bool
	// Files contains the files uploaded with the request.
	Files []Upload
}

CreateIssueAttachmentRequest contains parameters for CreateIssueAttachment.

type CreateIssueCommentRequest

type CreateIssueCommentRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// DraftID: ID of an existing draft that should be published. This parameter is optional.
	DraftID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// MuteUpdateNotifications: Set this parameter to `true` if no notifications should be sent on
	// changes made by this request. This doesn't mute notifications sent by any workflow rules. Using
	// this parameter requires Apply Commands Silently permission in all projects affected by the
	// request. Available since 2021.3.
	MuteUpdateNotifications bool
	// IssueComment is the JSON request body.
	IssueComment IssueComment
}

CreateIssueCommentRequest contains parameters for CreateIssueComment.

type CreateIssueCountResponseRequest

type CreateIssueCountResponseRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
	// IssueCountResponse is the JSON request body.
	IssueCountResponse IssueCountResponse
}

CreateIssueCountResponseRequest contains parameters for CreateIssueCountResponse.

type CreateIssueLinkTypeRequest

type CreateIssueLinkTypeRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
	// IssueLinkType is the JSON request body.
	IssueLinkType IssueLinkType
}

CreateIssueLinkTypeRequest contains parameters for CreateIssueLinkType.

type CreateIssueRequest

type CreateIssueRequest struct {
	// DraftID: ID of a draft to report as the new issue. If no `draftId` is provided, the issue is
	// created from scratch. In this case, you must specify the summary and the project in the request
	// payload.
	DraftID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// MuteUpdateNotifications: Set this parameter to `true` if no notifications should be sent on
	// changes made by this request. This doesn't mute notifications sent by any workflow rules. Using
	// this parameter requires Apply Commands Silently permission in all projects affected by the
	// request. Available since 2021.3.
	MuteUpdateNotifications bool
	// Issue is the JSON request body.
	Issue Issue
}

CreateIssueRequest contains parameters for CreateIssue.

type CreateIssueWorkItemRequest

type CreateIssueWorkItemRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// MuteUpdateNotifications: Set this parameter to `true` if no notifications should be sent on
	// changes made by this request. This doesn't mute notifications sent by any workflow rules. Using
	// this parameter requires Apply Commands Silently permission in all projects affected by the
	// request. Available since 2021.3.
	MuteUpdateNotifications bool
	// IssueWorkItem is the JSON request body.
	//
	// Represents a basic ancestor for work items.
	IssueWorkItem IssueWorkItem
}

CreateIssueWorkItemRequest contains parameters for CreateIssueWorkItem.

type CreateOrganizationRequest

type CreateOrganizationRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
	// Organization is the JSON request body.
	Organization Organization
}

CreateOrganizationRequest contains parameters for CreateOrganization.

type CreateOwnedBundleElementRequest

type CreateOwnedBundleElementRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// OwnedBundleElement is the JSON request body.
	//
	// Represents a field value in YouTrack.
	OwnedBundleElement OwnedBundleElement
}

CreateOwnedBundleElementRequest contains parameters for CreateOwnedBundleElement.

type CreateOwnedBundleRequest

type CreateOwnedBundleRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
	// OwnedBundle is the JSON request body.
	//
	// Represents a set of field values in YouTrack.
	OwnedBundle OwnedBundle
}

CreateOwnedBundleRequest contains parameters for CreateOwnedBundle.

type CreateProjectCustomFieldRequest

type CreateProjectCustomFieldRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// ProjectCustomField is the JSON request body.
	ProjectCustomField ProjectCustomField
}

CreateProjectCustomFieldRequest contains parameters for CreateProjectCustomField.

type CreateProjectRequest

type CreateProjectRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
	// Template: If the `template` is not specified, then the new project will use the default
	// settings. Optional. Lets you specify the template to use for the new project. Possible values:
	// `scrum`, `kanban`.
	Template string
	// Project is the JSON request body.
	//
	// Represents an issue folder, such as a project, a saved search, or a tag.
	Project Project
}

CreateProjectRequest contains parameters for CreateProject.

type CreateReactionAtIssuesByIDCommentsByIssueCommentIDReactionsRequest

type CreateReactionAtIssuesByIDCommentsByIssueCommentIDReactionsRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// IssueCommentID identifies a resource in the request path.
	IssueCommentID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// Reaction is the JSON request body.
	Reaction Reaction
}

CreateReactionAtIssuesByIDCommentsByIssueCommentIDReactionsRequest contains parameters for CreateReactionAtIssuesByIDCommentsByIssueCommentIDReactions.

type CreateReactionRequest

type CreateReactionRequest struct {
	// ArticleCommentID identifies a resource in the request path.
	ArticleCommentID string
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// Reaction is the JSON request body.
	Reaction Reaction
}

CreateReactionRequest contains parameters for CreateReaction.

type CreateRoleRequest

type CreateRoleRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
	// Role is the JSON request body.
	Role Role
}

CreateRoleRequest contains parameters for CreateRole.

type CreateSavedQueryRequest

type CreateSavedQueryRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
	// SavedQuery is the JSON request body.
	//
	// `WatchFolder` is a common abstract ancestor for saved searches and tags.
	SavedQuery SavedQuery
}

CreateSavedQueryRequest contains parameters for CreateSavedQuery.

type CreateSearchSuggestionsRequest

type CreateSearchSuggestionsRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
	// SearchSuggestions is the JSON request body.
	SearchSuggestions SearchSuggestions
}

CreateSearchSuggestionsRequest contains parameters for CreateSearchSuggestions.

type CreateSprintRequest

type CreateSprintRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// MuteUpdateNotifications: Set this parameter to `true` if no notifications should be sent on
	// changes made by this request. This doesn't mute notifications sent by any workflow rules. Using
	// this parameter requires Apply Commands Silently permission in all projects affected by the
	// request. Available since 2021.3.
	MuteUpdateNotifications bool
	// Sprint is the JSON request body.
	Sprint Sprint
}

CreateSprintRequest contains parameters for CreateSprint.

type CreateStateBundleElementRequest

type CreateStateBundleElementRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// StateBundleElement is the JSON request body.
	//
	// Represents field value that can be localized.
	StateBundleElement StateBundleElement
}

CreateStateBundleElementRequest contains parameters for CreateStateBundleElement.

type CreateStateBundleRequest

type CreateStateBundleRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
	// StateBundle is the JSON request body.
	//
	// Represents a set of field values in YouTrack.
	StateBundle StateBundle
}

CreateStateBundleRequest contains parameters for CreateStateBundle.

type CreateTagAtArticlesByIDTagsRequest

type CreateTagAtArticlesByIDTagsRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// Tag is the JSON request body.
	//
	// `WatchFolder` is a common abstract ancestor for saved searches and tags.
	Tag Tag
}

CreateTagAtArticlesByIDTagsRequest contains parameters for CreateTagAtArticlesByIDTags.

type CreateTagAtIssuesByIDTagsRequest

type CreateTagAtIssuesByIDTagsRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// Tag is the JSON request body.
	//
	// `WatchFolder` is a common abstract ancestor for saved searches and tags.
	Tag Tag
}

CreateTagAtIssuesByIDTagsRequest contains parameters for CreateTagAtIssuesByIDTags.

type CreateTagRequest

type CreateTagRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
	// Tag is the JSON request body.
	//
	// `WatchFolder` is a common abstract ancestor for saved searches and tags.
	Tag Tag
}

CreateTagRequest contains parameters for CreateTag.

type CreateUserAtAdminCustomFieldSettingsBundlesUserByIDIndividualsRequest

type CreateUserAtAdminCustomFieldSettingsBundlesUserByIDIndividualsRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// User is the JSON request body.
	User User
}

CreateUserAtAdminCustomFieldSettingsBundlesUserByIDIndividualsRequest contains parameters for CreateUserAtAdminCustomFieldSettingsBundlesUserByIDIndividuals.

type CreateUserAtAdminProjectsByIDTeamOwnUsersRequest

type CreateUserAtAdminProjectsByIDTeamOwnUsersRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// User is the JSON request body.
	User User
}

CreateUserAtAdminProjectsByIDTeamOwnUsersRequest contains parameters for CreateUserAtAdminProjectsByIDTeamOwnUsers.

type CreateUserBundleRequest

type CreateUserBundleRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
	// UserBundle is the JSON request body.
	UserBundle UserBundle
}

CreateUserBundleRequest contains parameters for CreateUserBundle.

type CreateUserGroupAtAdminCustomFieldSettingsBundlesUserByIDGroupsRequest

type CreateUserGroupAtAdminCustomFieldSettingsBundlesUserByIDGroupsRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// UserGroup is the JSON request body.
	UserGroup UserGroup
}

CreateUserGroupAtAdminCustomFieldSettingsBundlesUserByIDGroupsRequest contains parameters for CreateUserGroupAtAdminCustomFieldSettingsBundlesUserByIDGroups.

type CreateUserGroupAtAdminProjectsByIDTeamGroupsRequest

type CreateUserGroupAtAdminProjectsByIDTeamGroupsRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// UserGroup is the JSON request body.
	UserGroup UserGroup
}

CreateUserGroupAtAdminProjectsByIDTeamGroupsRequest contains parameters for CreateUserGroupAtAdminProjectsByIDTeamGroups.

type CreateUserGroupRequest

type CreateUserGroupRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
	// UserGroup is the JSON request body.
	UserGroup UserGroup
}

CreateUserGroupRequest contains parameters for CreateUserGroup.

type CreateUserRequest

type CreateUserRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
	// User is the JSON request body.
	User User
}

CreateUserRequest contains parameters for CreateUser.

type CreateVcsChangeRequest

type CreateVcsChangeRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// MuteUpdateNotifications: Set this parameter to `true` if no notifications should be sent on
	// issue changes caused by this request. This doesn't mute notifications sent by any workflow
	// rules. Using this parameter requires Apply Commands Silently permission in all projects affected
	// by the request. Available since 2021.3.
	MuteUpdateNotifications bool
	// VcsChange is the JSON request body.
	VcsChange VcsChange
}

CreateVcsChangeRequest contains parameters for CreateVcsChange.

type CreateVersionBundleElementRequest

type CreateVersionBundleElementRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// VersionBundleElement is the JSON request body.
	//
	// Represents a field value in YouTrack.
	VersionBundleElement VersionBundleElement
}

CreateVersionBundleElementRequest contains parameters for CreateVersionBundleElement.

type CreateVersionBundleRequest

type CreateVersionBundleRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
	// VersionBundle is the JSON request body.
	//
	// Represents a set of field values in YouTrack.
	VersionBundle VersionBundle
}

CreateVersionBundleRequest contains parameters for CreateVersionBundle.

type CreateWorkItemTypeAtAdminProjectsByIDTimeTrackingSettingsWorkItemTypesRequest

type CreateWorkItemTypeAtAdminProjectsByIDTimeTrackingSettingsWorkItemTypesRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// WorkItemType is the JSON request body.
	WorkItemType WorkItemType
}

CreateWorkItemTypeAtAdminProjectsByIDTimeTrackingSettingsWorkItemTypesRequest contains parameters for CreateWorkItemTypeAtAdminProjectsByIDTimeTrackingSettingsWorkItemTypes.

type CreateWorkItemTypeRequest

type CreateWorkItemTypeRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
	// WorkItemType is the JSON request body.
	WorkItemType WorkItemType
}

CreateWorkItemTypeRequest contains parameters for CreateWorkItemType.

type CreatedDeletedActivityItem

type CreatedDeletedActivityItem interface {
	ActivityItem
}

CreatedDeletedActivityItem: Represents an action when an entity is created or deleted in an issue. For example, a new comment is created in the issue.

type CustomField

type CustomField struct {
	Aliases                *string
	FieldDefaults          CustomFieldDefaults
	FieldType              *FieldType
	HasRunningJob          *bool
	Id                     *string
	Instances              []ProjectCustomField
	IsAutoAttached         *bool
	IsDisplayedInIssueList *bool
	IsUpdateable           *bool
	LocalizedName          *string
	Name                   *string
	Ordinal                *int
}

type CustomFieldActivityItem

type CustomFieldActivityItem interface {
	ActivityItem
}

CustomFieldActivityItem: Represents an activity that affects a custom field of an issue.

type CustomFieldCondition

type CustomFieldCondition interface {
}

CustomFieldCondition: Represents the condition for showing a custom field.

type CustomFieldDefaults

type CustomFieldDefaults interface {
}

type CustomFilterField

type CustomFilterField struct {
	Id           *string
	Name         *string
	Presentation *string
	CustomField  *CustomField
}

CustomFilterField: Represents a custom field of the issue.

type DatabaseAttributeValue

type DatabaseAttributeValue interface {
}

DatabaseAttributeValue: Represents string reference to the value.

type DatabaseBackupSettings

type DatabaseBackupSettings struct {
	ArchiveFormat      *string
	AvailableDiskSpace *int
	BackupStatus       *BackupStatus
	CronExpression     *string
	FilesToKeep        *int
	Id                 *string
	IsOn               *bool
	Location           *string
	NotifiedUsers      []User
}

type DatabaseMultiValueIssueCustomField

type DatabaseMultiValueIssueCustomField interface {
	IssueCustomField
}

DatabaseMultiValueIssueCustomField: Represents a custom field that may have multiple values in the issue.

type DatabaseSingleValueIssueCustomField

type DatabaseSingleValueIssueCustomField interface {
	IssueCustomField
}

DatabaseSingleValueIssueCustomField: Represents a a single-value custom field in the issue.

type DateFormatDescriptor

type DateFormatDescriptor struct {
	DatePattern  *string
	Id           *string
	Pattern      *string
	Presentation *string
}

DateFormatDescriptor: Represents date format.

type DateIssueCustomField

type DateIssueCustomField struct {
	Id                 *string
	Name               *string
	ProjectCustomField ProjectCustomField
	Value              *any
}

DateIssueCustomField: Represents a date-type custom field in the issue.

type DeleteAgileRequest

type DeleteAgileRequest struct {
	// ID identifies a resource in the request path.
	ID string
}

DeleteAgileRequest contains parameters for DeleteAgile.

type DeleteArticleAtArticlesByIDChildArticlesByArticleIDRequest

type DeleteArticleAtArticlesByIDChildArticlesByArticleIDRequest struct {
	// ArticleID identifies a resource in the request path.
	ArticleID string
	// ID identifies a resource in the request path.
	ID string
}

DeleteArticleAtArticlesByIDChildArticlesByArticleIDRequest contains parameters for DeleteArticleAtArticlesByIDChildArticlesByArticleID.

type DeleteArticleAttachmentRequest

type DeleteArticleAttachmentRequest struct {
	// ArticleAttachmentID identifies a resource in the request path.
	ArticleAttachmentID string
	// ID identifies a resource in the request path.
	ID string
}

DeleteArticleAttachmentRequest contains parameters for DeleteArticleAttachment.

type DeleteArticleCommentRequest

type DeleteArticleCommentRequest struct {
	// ArticleCommentID identifies a resource in the request path.
	ArticleCommentID string
	// ID identifies a resource in the request path.
	ID string
}

DeleteArticleCommentRequest contains parameters for DeleteArticleComment.

type DeleteArticleRequest

type DeleteArticleRequest struct {
	// ID identifies a resource in the request path.
	ID string
}

DeleteArticleRequest contains parameters for DeleteArticle.

type DeleteAssignedRoleRequest

type DeleteAssignedRoleRequest struct {
	// ID identifies a resource in the request path.
	ID string
}

DeleteAssignedRoleRequest contains parameters for DeleteAssignedRole.

type DeleteBuildBundleElementRequest

type DeleteBuildBundleElementRequest struct {
	// BuildBundleElementID identifies a resource in the request path.
	BuildBundleElementID string
	// ID identifies a resource in the request path.
	ID string
}

DeleteBuildBundleElementRequest contains parameters for DeleteBuildBundleElement.

type DeleteBuildRequest

type DeleteBuildRequest struct {
	// ID identifies a resource in the request path.
	ID string
}

DeleteBuildRequest contains parameters for DeleteBuild.

type DeleteCustomFieldRequest

type DeleteCustomFieldRequest struct {
	// ID identifies a resource in the request path.
	ID string
}

DeleteCustomFieldRequest contains parameters for DeleteCustomField.

type DeleteEnumBundleElementRequest

type DeleteEnumBundleElementRequest struct {
	// EnumBundleElementID identifies a resource in the request path.
	EnumBundleElementID string
	// ID identifies a resource in the request path.
	ID string
}

DeleteEnumBundleElementRequest contains parameters for DeleteEnumBundleElement.

type DeleteEnumRequest

type DeleteEnumRequest struct {
	// ID identifies a resource in the request path.
	ID string
}

DeleteEnumRequest contains parameters for DeleteEnum.

type DeleteGroupRequest

type DeleteGroupRequest struct {
	// ID identifies a resource in the request path.
	ID string
}

DeleteGroupRequest contains parameters for DeleteGroup.

type DeleteIssueAtAdminProjectsByIDIssuesByIssueIDRequest

type DeleteIssueAtAdminProjectsByIDIssuesByIssueIDRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// IssueID identifies a resource in the request path.
	IssueID string
}

DeleteIssueAtAdminProjectsByIDIssuesByIssueIDRequest contains parameters for DeleteIssueAtAdminProjectsByIDIssuesByIssueID.

type DeleteIssueAtIssuesByIDLinksByIssueLinkIDIssuesByIssueIDRequest

type DeleteIssueAtIssuesByIDLinksByIssueLinkIDIssuesByIssueIDRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// IssueID identifies a resource in the request path.
	IssueID string
	// IssueLinkID identifies a resource in the request path.
	IssueLinkID string
}

DeleteIssueAtIssuesByIDLinksByIssueLinkIDIssuesByIssueIDRequest contains parameters for DeleteIssueAtIssuesByIDLinksByIssueLinkIDIssuesByIssueID.

type DeleteIssueAttachmentRequest

type DeleteIssueAttachmentRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// IssueAttachmentID identifies a resource in the request path.
	IssueAttachmentID string
}

DeleteIssueAttachmentRequest contains parameters for DeleteIssueAttachment.

type DeleteIssueCommentRequest

type DeleteIssueCommentRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// IssueCommentID identifies a resource in the request path.
	IssueCommentID string
}

DeleteIssueCommentRequest contains parameters for DeleteIssueComment.

type DeleteIssueLinkTypeRequest

type DeleteIssueLinkTypeRequest struct {
	// ID identifies a resource in the request path.
	ID string
}

DeleteIssueLinkTypeRequest contains parameters for DeleteIssueLinkType.

type DeleteIssueRequest

type DeleteIssueRequest struct {
	// ID identifies a resource in the request path.
	ID string
}

DeleteIssueRequest contains parameters for DeleteIssue.

type DeleteIssueWorkItemRequest

type DeleteIssueWorkItemRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// IssueWorkItemID identifies a resource in the request path.
	IssueWorkItemID string
}

DeleteIssueWorkItemRequest contains parameters for DeleteIssueWorkItem.

type DeleteOrganizationRequest

type DeleteOrganizationRequest struct {
	// ID identifies a resource in the request path.
	ID string
}

DeleteOrganizationRequest contains parameters for DeleteOrganization.

type DeleteOwnedBundleElementRequest

type DeleteOwnedBundleElementRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// OwnedBundleElementID identifies a resource in the request path.
	OwnedBundleElementID string
}

DeleteOwnedBundleElementRequest contains parameters for DeleteOwnedBundleElement.

type DeleteOwnedFieldRequest

type DeleteOwnedFieldRequest struct {
	// ID identifies a resource in the request path.
	ID string
}

DeleteOwnedFieldRequest contains parameters for DeleteOwnedField.

type DeleteProjectCustomFieldRequest

type DeleteProjectCustomFieldRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// ProjectCustomFieldID identifies a resource in the request path.
	ProjectCustomFieldID string
}

DeleteProjectCustomFieldRequest contains parameters for DeleteProjectCustomField.

type DeleteProjectRequest

type DeleteProjectRequest struct {
	// ID identifies a resource in the request path.
	ID string
}

DeleteProjectRequest contains parameters for DeleteProject.

type DeleteReactionAtIssuesByIDCommentsByIssueCommentIDReactionsByReactionIDRequest

type DeleteReactionAtIssuesByIDCommentsByIssueCommentIDReactionsByReactionIDRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// IssueCommentID identifies a resource in the request path.
	IssueCommentID string
	// ReactionID identifies a resource in the request path.
	ReactionID string
}

DeleteReactionAtIssuesByIDCommentsByIssueCommentIDReactionsByReactionIDRequest contains parameters for DeleteReactionAtIssuesByIDCommentsByIssueCommentIDReactionsByReactionID.

type DeleteReactionRequest

type DeleteReactionRequest struct {
	// ArticleCommentID identifies a resource in the request path.
	ArticleCommentID string
	// ID identifies a resource in the request path.
	ID string
	// ReactionID identifies a resource in the request path.
	ReactionID string
}

DeleteReactionRequest contains parameters for DeleteReaction.

type DeleteRoleRequest

type DeleteRoleRequest struct {
	// ID identifies a resource in the request path.
	ID string
}

DeleteRoleRequest contains parameters for DeleteRole.

type DeleteSavedQueryRequest

type DeleteSavedQueryRequest struct {
	// ID identifies a resource in the request path.
	ID string
}

DeleteSavedQueryRequest contains parameters for DeleteSavedQuery.

type DeleteSprintRequest

type DeleteSprintRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// SprintID identifies a resource in the request path.
	SprintID string
}

DeleteSprintRequest contains parameters for DeleteSprint.

type DeleteStateBundleElementRequest

type DeleteStateBundleElementRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// StateBundleElementID identifies a resource in the request path.
	StateBundleElementID string
}

DeleteStateBundleElementRequest contains parameters for DeleteStateBundleElement.

type DeleteStateRequest

type DeleteStateRequest struct {
	// ID identifies a resource in the request path.
	ID string
}

DeleteStateRequest contains parameters for DeleteState.

type DeleteTagAtArticlesByIDTagsByTagIDRequest

type DeleteTagAtArticlesByIDTagsByTagIDRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// TagID identifies a resource in the request path.
	TagID string
}

DeleteTagAtArticlesByIDTagsByTagIDRequest contains parameters for DeleteTagAtArticlesByIDTagsByTagID.

type DeleteTagAtIssuesByIDTagsByTagIDRequest

type DeleteTagAtIssuesByIDTagsByTagIDRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// TagID identifies a resource in the request path.
	TagID string
}

DeleteTagAtIssuesByIDTagsByTagIDRequest contains parameters for DeleteTagAtIssuesByIDTagsByTagID.

type DeleteTagRequest

type DeleteTagRequest struct {
	// ID identifies a resource in the request path.
	ID string
}

DeleteTagRequest contains parameters for DeleteTag.

type DeleteUserAtAdminCustomFieldSettingsBundlesUserByIDIndividualsByUserIDRequest

type DeleteUserAtAdminCustomFieldSettingsBundlesUserByIDIndividualsByUserIDRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// UserID identifies a resource in the request path.
	UserID string
}

DeleteUserAtAdminCustomFieldSettingsBundlesUserByIDIndividualsByUserIDRequest contains parameters for DeleteUserAtAdminCustomFieldSettingsBundlesUserByIDIndividualsByUserID.

type DeleteUserAtAdminProjectsByIDTeamOwnUsersByUserIDRequest

type DeleteUserAtAdminProjectsByIDTeamOwnUsersByUserIDRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// UserID identifies a resource in the request path.
	UserID string
}

DeleteUserAtAdminProjectsByIDTeamOwnUsersByUserIDRequest contains parameters for DeleteUserAtAdminProjectsByIDTeamOwnUsersByUserID.

type DeleteUserGroupAtAdminCustomFieldSettingsBundlesUserByIDGroupsByUserGroupIDRequest

type DeleteUserGroupAtAdminCustomFieldSettingsBundlesUserByIDGroupsByUserGroupIDRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// UserGroupID identifies a resource in the request path.
	UserGroupID string
}

DeleteUserGroupAtAdminCustomFieldSettingsBundlesUserByIDGroupsByUserGroupIDRequest contains parameters for DeleteUserGroupAtAdminCustomFieldSettingsBundlesUserByIDGroupsByUserGroupID.

type DeleteUserGroupRequest

type DeleteUserGroupRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// UserGroupID identifies a resource in the request path.
	UserGroupID string
}

DeleteUserGroupRequest contains parameters for DeleteUserGroup.

type DeleteUserRequest

type DeleteUserRequest struct {
	// ID identifies a resource in the request path.
	ID string
}

DeleteUserRequest contains parameters for DeleteUser.

type DeleteVCSChangeRequest

type DeleteVCSChangeRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// VCSChangeID identifies a resource in the request path.
	VCSChangeID string
}

DeleteVCSChangeRequest contains parameters for DeleteVCSChange.

type DeleteVersionBundleElementRequest

type DeleteVersionBundleElementRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// VersionBundleElementID identifies a resource in the request path.
	VersionBundleElementID string
}

DeleteVersionBundleElementRequest contains parameters for DeleteVersionBundleElement.

type DeleteVersionRequest

type DeleteVersionRequest struct {
	// ID identifies a resource in the request path.
	ID string
}

DeleteVersionRequest contains parameters for DeleteVersion.

type DeleteWorkItemTypeAtAdminProjectsByIDTimeTrackingSettingsWorkItemTypesByWorkItemTypeIDRequest

type DeleteWorkItemTypeAtAdminProjectsByIDTimeTrackingSettingsWorkItemTypesByWorkItemTypeIDRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// WorkItemTypeID identifies a resource in the request path.
	WorkItemTypeID string
}

DeleteWorkItemTypeAtAdminProjectsByIDTimeTrackingSettingsWorkItemTypesByWorkItemTypeIDRequest contains parameters for DeleteWorkItemTypeAtAdminProjectsByIDTimeTrackingSettingsWorkItemTypesByWorkItemTypeID.

type DeleteWorkItemTypeRequest

type DeleteWorkItemTypeRequest struct {
	// WorkItemTypeID identifies a resource in the request path.
	WorkItemTypeID string
}

DeleteWorkItemTypeRequest contains parameters for DeleteWorkItemType.

type DuplicateVote

type DuplicateVote struct {
	Id    *string
	Issue *Issue
	User  *User
}

DuplicateVote: Represents a vote for duplicates of the issue.

type DurationValue

type DurationValue struct {
	Id           *string
	Minutes      *int
	Presentation *string
}

DurationValue: Represents the duration value and its visual presentation.

type EmailSettings

type EmailSettings struct {
	Anonymous    *bool
	From         *string
	Host         *string
	Id           *string
	IsEnabled    *bool
	Login        *string
	MailProtocol *string
	Port         *int
	ReplyTo      *string
	SslKey       *StorageEntry
}

EmailSettings: Represents email settings for this YouTrack installation.

type EnumBundle

type EnumBundle struct {
	Id           *string
	IsUpdateable *bool
	Values       []EnumBundleElement
}

EnumBundle: Represents a set of field values in YouTrack.

type EnumBundleCustomFieldDefaults

type EnumBundleCustomFieldDefaults struct {
	CanBeEmpty     *bool
	EmptyFieldText *string
	Id             *string
	IsPublic       *bool
	Parent         *CustomField
	Bundle         *EnumBundle
	DefaultValues  []EnumBundleElement
}

EnumBundleCustomFieldDefaults: Default settings for the enum-type field.

type EnumBundleElement

type EnumBundleElement struct {
	Archived      *bool
	Bundle        Bundle
	Color         *FieldStyle
	Description   *string
	HasRunningJob *bool
	Id            *string
	Name          *string
	Ordinal       *int
	LocalizedName *string
}

EnumBundleElement: Represents field value that can be localized.

type EnumProjectCustomField

type EnumProjectCustomField struct {
	CanBeEmpty     *bool
	Condition      CustomFieldCondition
	EmptyFieldText *string
	Field          *CustomField
	HasRunningJob  *bool
	Id             *string
	IsPublic       *bool
	Ordinal        *int
	Project        *Project
	Bundle         *EnumBundle
	DefaultValues  []EnumBundleElement
}

EnumProjectCustomField: Represents project settings for the enum field.

type Event

type Event struct {
	Id           *string
	Presentation *string
}

Event: Represents a transition from one value to another for a custom field that is managed by a state-machine rule in workflow.

type ExternalArticle

type ExternalArticle struct {
	Id   *string
	Key  *string
	Name *string
	Url  *string
}

ExternalArticle: For an article that was imported from another service, this entity represents the reference to the article in the external system.

type ExternalIssue

type ExternalIssue struct {
	Id   *string
	Key  *string
	Name *string
	Url  *string
}

ExternalIssue: For an issue that was imported from another service, represents the reference to the issue in the external system.

type FieldBasedColorCoding

type FieldBasedColorCoding struct {
	Id        *string
	Prototype *CustomField
}

FieldBasedColorCoding: Sets a card color based on a value of some custom field.

type FieldBasedCondition

type FieldBasedCondition struct {
	Id               *string
	Parent           ProjectCustomField
	Field            BundleProjectCustomField
	ShowForNullValue *bool
	Values           []BundleElement
}

FieldBasedCondition: Represents the condition for showing a custom field.

type FieldStyle

type FieldStyle struct {
	Background *string
	Foreground *string
	Id         *string
}

FieldStyle: Represents the style settings of the field in YouTrack.

type FieldType

type FieldType struct {
	Id *string
}

type FilterField

type FilterField interface {
}

FilterField: Represents an issue property, which can be a predefined field, a custom field, a link, and so on.

type GeneralUserProfile

type GeneralUserProfile struct {
	DateFieldFormat *DateFormatDescriptor
	Id              *string
	Locale          *LocaleDescriptor
	Timezone        *TimeZoneDescriptor
}

type GetActivityCursorPageAtIssuesByIDActivitiesPageRequest

type GetActivityCursorPageAtIssuesByIDActivitiesPageRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// ActivityID: ID of the activity that should be included in the page. The activity is allocated to
	// the middle of the page.
	ActivityID string
	// Author: Parameter to filter activities by the author. You can specify one of the following
	// parameters: the database ID, login, Hub ID, or `me` for the currently logged in user.
	Author     string
	Categories string
	Cursor     string
	// End: The timestamp in milliseconds indicating the end of the time interval the activity
	// timestamp belongs to. Stored as a unix timestamp at UTC. If the parameter is not set, it is
	// considered as `Long.MAX_VALUE`.
	End string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// Reverse: Indicates whether the order of returning activities is from newest to oldest or the
	// opposite. If `false`, then the oldest activity item that matches a selected filter is returned
	// first. If `true`, then the newest activity is returned first. By default, `false`.
	Reverse bool
	// Start: The timestamp in milliseconds indicating the start of the time interval the activity
	// timestamp belongs to. Stored as a unix timestamp at UTC. If the parameter is not set, it is
	// considered to be 0.
	Start string
}

GetActivityCursorPageAtIssuesByIDActivitiesPageRequest contains parameters for GetActivityCursorPageAtIssuesByIDActivitiesPage.

type GetActivityCursorPageRequest

type GetActivityCursorPageRequest struct {
	// ActivityID: ID of the activity that should be included in the page. The activity is allocated to
	// the middle of the page.
	ActivityID string
	// Author: Parameter to filter activities by the author. You can specify one of the following
	// parameters: the database ID, login, Hub ID, or `me` for the currently logged in user.
	Author     string
	Categories string
	Cursor     string
	// End: The timestamp in milliseconds indicating the end of the time interval the activity
	// timestamp belongs to. Stored as a unix timestamp at UTC. If the parameter is not set, it is
	// considered as `Long.MAX_VALUE`.
	End string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// IssueQuery: Issue search query. For details about search syntax, refer to the YouTrack
	// documentation
	// (https://www.jetbrains.com/help/youtrack/cloud/search-and-command-attributes.html).
	IssueQuery string
	// Reverse: Indicates whether the order of returning activities is from newest to oldest or the
	// opposite. If `false`, then the oldest activity item that matches a selected filter is returned
	// first. If `true`, then the newest activity is returned first. By default, `false`.
	Reverse bool
	// Start: The timestamp in milliseconds indicating the start of the time interval the activity
	// timestamp belongs to. Stored as a unix timestamp at UTC. If the parameter is not set, it is
	// considered to be 0.
	Start string
}

GetActivityCursorPageRequest contains parameters for GetActivityCursorPage.

type GetActivityItemAtIssuesByIDActivitiesByActivityItemIDRequest

type GetActivityItemAtIssuesByIDActivitiesByActivityItemIDRequest struct {
	// ActivityItemID identifies a resource in the request path.
	ActivityItemID string
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetActivityItemAtIssuesByIDActivitiesByActivityItemIDRequest contains parameters for GetActivityItemAtIssuesByIDActivitiesByActivityItemID.

type GetActivityItemRequest

type GetActivityItemRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetActivityItemRequest contains parameters for GetActivityItem.

type GetAgileRequest

type GetAgileRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetAgileRequest contains parameters for GetAgile.

type GetAppearanceSettingsRequest

type GetAppearanceSettingsRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetAppearanceSettingsRequest contains parameters for GetAppearanceSettings.

type GetArticleAtArticlesByIDChildArticlesByArticleIDRequest

type GetArticleAtArticlesByIDChildArticlesByArticleIDRequest struct {
	// ArticleID identifies a resource in the request path.
	ArticleID string
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetArticleAtArticlesByIDChildArticlesByArticleIDRequest contains parameters for GetArticleAtArticlesByIDChildArticlesByArticleID.

type GetArticleAtArticlesByIDParentArticleRequest

type GetArticleAtArticlesByIDParentArticleRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetArticleAtArticlesByIDParentArticleRequest contains parameters for GetArticleAtArticlesByIDParentArticle.

type GetArticleAttachmentRequest

type GetArticleAttachmentRequest struct {
	// ArticleAttachmentID identifies a resource in the request path.
	ArticleAttachmentID string
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetArticleAttachmentRequest contains parameters for GetArticleAttachment.

type GetArticleCommentRequest

type GetArticleCommentRequest struct {
	// ArticleCommentID identifies a resource in the request path.
	ArticleCommentID string
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetArticleCommentRequest contains parameters for GetArticleComment.

type GetArticleRequest

type GetArticleRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetArticleRequest contains parameters for GetArticle.

type GetAssignedRoleRequest

type GetAssignedRoleRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetAssignedRoleRequest contains parameters for GetAssignedRole.

type GetBackupFileRequest

type GetBackupFileRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetBackupFileRequest contains parameters for GetBackupFile.

type GetBackupStatusRequest

type GetBackupStatusRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetBackupStatusRequest contains parameters for GetBackupStatus.

type GetBuildBundleElementRequest

type GetBuildBundleElementRequest struct {
	// BuildBundleElementID identifies a resource in the request path.
	BuildBundleElementID string
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetBuildBundleElementRequest contains parameters for GetBuildBundleElement.

type GetBuildBundleRequest

type GetBuildBundleRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetBuildBundleRequest contains parameters for GetBuildBundle.

type GetCustomFieldDefaultsRequest

type GetCustomFieldDefaultsRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetCustomFieldDefaultsRequest contains parameters for GetCustomFieldDefaults.

type GetCustomFieldRequest

type GetCustomFieldRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetCustomFieldRequest contains parameters for GetCustomField.

type GetDatabaseBackupSettingsRequest

type GetDatabaseBackupSettingsRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetDatabaseBackupSettingsRequest contains parameters for GetDatabaseBackupSettings.

type GetEnumBundleElementRequest

type GetEnumBundleElementRequest struct {
	// EnumBundleElementID identifies a resource in the request path.
	EnumBundleElementID string
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetEnumBundleElementRequest contains parameters for GetEnumBundleElement.

type GetEnumBundleRequest

type GetEnumBundleRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetEnumBundleRequest contains parameters for GetEnumBundle.

type GetGeneralUserProfileRequest

type GetGeneralUserProfileRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetGeneralUserProfileRequest contains parameters for GetGeneralUserProfile.

type GetGlobalSettingsRequest

type GetGlobalSettingsRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetGlobalSettingsRequest contains parameters for GetGlobalSettings.

type GetGlobalTimeTrackingSettingsRequest

type GetGlobalTimeTrackingSettingsRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetGlobalTimeTrackingSettingsRequest contains parameters for GetGlobalTimeTrackingSettings.

type GetIssueAtAdminProjectsByIDIssuesByIssueIDRequest

type GetIssueAtAdminProjectsByIDIssuesByIssueIDRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// IssueID identifies a resource in the request path.
	IssueID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetIssueAtAdminProjectsByIDIssuesByIssueIDRequest contains parameters for GetIssueAtAdminProjectsByIDIssuesByIssueID.

type GetIssueAttachmentRequest

type GetIssueAttachmentRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// IssueAttachmentID identifies a resource in the request path.
	IssueAttachmentID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetIssueAttachmentRequest contains parameters for GetIssueAttachment.

type GetIssueCommentRequest

type GetIssueCommentRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// IssueCommentID identifies a resource in the request path.
	IssueCommentID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetIssueCommentRequest contains parameters for GetIssueComment.

type GetIssueCustomFieldRequest

type GetIssueCustomFieldRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// IssueCustomFieldID identifies a resource in the request path.
	IssueCustomFieldID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetIssueCustomFieldRequest contains parameters for GetIssueCustomField.

type GetIssueLinkRequest

type GetIssueLinkRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// IssueLinkID identifies a resource in the request path.
	IssueLinkID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetIssueLinkRequest contains parameters for GetIssueLink.

type GetIssueLinkTypeRequest

type GetIssueLinkTypeRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetIssueLinkTypeRequest contains parameters for GetIssueLinkType.

type GetIssueRequest

type GetIssueRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetIssueRequest contains parameters for GetIssue.

type GetIssueTimeTrackerRequest

type GetIssueTimeTrackerRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetIssueTimeTrackerRequest contains parameters for GetIssueTimeTracker.

type GetIssueWorkItemAtIssuesByIDTimeTrackingWorkItemsByIssueWorkItemIDRequest

type GetIssueWorkItemAtIssuesByIDTimeTrackingWorkItemsByIssueWorkItemIDRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// IssueWorkItemID identifies a resource in the request path.
	IssueWorkItemID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetIssueWorkItemAtIssuesByIDTimeTrackingWorkItemsByIssueWorkItemIDRequest contains parameters for GetIssueWorkItemAtIssuesByIDTimeTrackingWorkItemsByIssueWorkItemID.

type GetIssueWorkItemRequest

type GetIssueWorkItemRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetIssueWorkItemRequest contains parameters for GetIssueWorkItem.

type GetLicenseRequest

type GetLicenseRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetLicenseRequest contains parameters for GetLicense.

type GetLocaleSettingsRequest

type GetLocaleSettingsRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetLocaleSettingsRequest contains parameters for GetLocaleSettings.

type GetMeRequest

type GetMeRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetMeRequest contains parameters for GetMe.

type GetNotificationSettingsRequest

type GetNotificationSettingsRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetNotificationSettingsRequest contains parameters for GetNotificationSettings.

type GetNotificationsUserProfileRequest

type GetNotificationsUserProfileRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetNotificationsUserProfileRequest contains parameters for GetNotificationsUserProfile.

type GetOrganizationRequest

type GetOrganizationRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetOrganizationRequest contains parameters for GetOrganization.

type GetOwnedBundleElementRequest

type GetOwnedBundleElementRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// OwnedBundleElementID identifies a resource in the request path.
	OwnedBundleElementID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetOwnedBundleElementRequest contains parameters for GetOwnedBundleElement.

type GetOwnedBundleRequest

type GetOwnedBundleRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetOwnedBundleRequest contains parameters for GetOwnedBundle.

type GetProjectAtIssuesByIDProjectRequest

type GetProjectAtIssuesByIDProjectRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetProjectAtIssuesByIDProjectRequest contains parameters for GetProjectAtIssuesByIDProject.

type GetProjectCustomFieldRequest

type GetProjectCustomFieldRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// ProjectCustomFieldID identifies a resource in the request path.
	ProjectCustomFieldID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetProjectCustomFieldRequest contains parameters for GetProjectCustomField.

type GetProjectRequest

type GetProjectRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetProjectRequest contains parameters for GetProject.

type GetProjectTeamRequest

type GetProjectTeamRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetProjectTeamRequest contains parameters for GetProjectTeam.

type GetProjectTimeTrackingSettingsRequest

type GetProjectTimeTrackingSettingsRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetProjectTimeTrackingSettingsRequest contains parameters for GetProjectTimeTrackingSettings.

type GetReactionAtIssuesByIDCommentsByIssueCommentIDReactionsByReactionIDRequest

type GetReactionAtIssuesByIDCommentsByIssueCommentIDReactionsByReactionIDRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// IssueCommentID identifies a resource in the request path.
	IssueCommentID string
	// ReactionID identifies a resource in the request path.
	ReactionID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetReactionAtIssuesByIDCommentsByIssueCommentIDReactionsByReactionIDRequest contains parameters for GetReactionAtIssuesByIDCommentsByIssueCommentIDReactionsByReactionID.

type GetReactionRequest

type GetReactionRequest struct {
	// ArticleCommentID identifies a resource in the request path.
	ArticleCommentID string
	// ID identifies a resource in the request path.
	ID string
	// ReactionID identifies a resource in the request path.
	ReactionID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetReactionRequest contains parameters for GetReaction.

type GetRestCorsSettingsRequest

type GetRestCorsSettingsRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetRestCorsSettingsRequest contains parameters for GetRestCorsSettings.

type GetRoleRequest

type GetRoleRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetRoleRequest contains parameters for GetRole.

type GetSavedQueryRequest

type GetSavedQueryRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetSavedQueryRequest contains parameters for GetSavedQuery.

type GetSprintRequest

type GetSprintRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// SprintID identifies a resource in the request path.
	SprintID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetSprintRequest contains parameters for GetSprint.

type GetStateBundleElementRequest

type GetStateBundleElementRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// StateBundleElementID identifies a resource in the request path.
	StateBundleElementID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetStateBundleElementRequest contains parameters for GetStateBundleElement.

type GetStateBundleRequest

type GetStateBundleRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetStateBundleRequest contains parameters for GetStateBundle.

type GetSystemSettingsRequest

type GetSystemSettingsRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetSystemSettingsRequest contains parameters for GetSystemSettings.

type GetTagAtArticlesByIDTagsByTagIDRequest

type GetTagAtArticlesByIDTagsByTagIDRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// TagID identifies a resource in the request path.
	TagID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetTagAtArticlesByIDTagsByTagIDRequest contains parameters for GetTagAtArticlesByIDTagsByTagID.

type GetTagAtIssuesByIDTagsByTagIDRequest

type GetTagAtIssuesByIDTagsByTagIDRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// TagID identifies a resource in the request path.
	TagID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetTagAtIssuesByIDTagsByTagIDRequest contains parameters for GetTagAtIssuesByIDTagsByTagID.

type GetTagRequest

type GetTagRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetTagRequest contains parameters for GetTag.

type GetTelemetryRequest

type GetTelemetryRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetTelemetryRequest contains parameters for GetTelemetry.

type GetTimeTrackingUserProfileRequest

type GetTimeTrackingUserProfileRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetTimeTrackingUserProfileRequest contains parameters for GetTimeTrackingUserProfile.

type GetUserAtAdminCustomFieldSettingsBundlesUserByIDIndividualsByUserIDRequest

type GetUserAtAdminCustomFieldSettingsBundlesUserByIDIndividualsByUserIDRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// UserID identifies a resource in the request path.
	UserID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetUserAtAdminCustomFieldSettingsBundlesUserByIDIndividualsByUserIDRequest contains parameters for GetUserAtAdminCustomFieldSettingsBundlesUserByIDIndividualsByUserID.

type GetUserBundleRequest

type GetUserBundleRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetUserBundleRequest contains parameters for GetUserBundle.

type GetUserGroupAtAdminCustomFieldSettingsBundlesUserByIDGroupsByUserGroupIDRequest

type GetUserGroupAtAdminCustomFieldSettingsBundlesUserByIDGroupsByUserGroupIDRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// UserGroupID identifies a resource in the request path.
	UserGroupID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetUserGroupAtAdminCustomFieldSettingsBundlesUserByIDGroupsByUserGroupIDRequest contains parameters for GetUserGroupAtAdminCustomFieldSettingsBundlesUserByIDGroupsByUserGroupID.

type GetUserGroupRequest

type GetUserGroupRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetUserGroupRequest contains parameters for GetUserGroup.

type GetUserRequest

type GetUserRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetUserRequest contains parameters for GetUser.

type GetVcsChangeRequest

type GetVcsChangeRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// VCSChangeID identifies a resource in the request path.
	VCSChangeID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetVcsChangeRequest contains parameters for GetVcsChange.

type GetVersionBundleElementRequest

type GetVersionBundleElementRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// VersionBundleElementID identifies a resource in the request path.
	VersionBundleElementID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetVersionBundleElementRequest contains parameters for GetVersionBundleElement.

type GetVersionBundleRequest

type GetVersionBundleRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetVersionBundleRequest contains parameters for GetVersionBundle.

type GetWorkItemTypeAtAdminProjectsByIDTimeTrackingSettingsWorkItemTypesByWorkItemTypeIDRequest

type GetWorkItemTypeAtAdminProjectsByIDTimeTrackingSettingsWorkItemTypesByWorkItemTypeIDRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// WorkItemTypeID identifies a resource in the request path.
	WorkItemTypeID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetWorkItemTypeAtAdminProjectsByIDTimeTrackingSettingsWorkItemTypesByWorkItemTypeIDRequest contains parameters for GetWorkItemTypeAtAdminProjectsByIDTimeTrackingSettingsWorkItemTypesByWorkItemTypeID.

type GetWorkItemTypeRequest

type GetWorkItemTypeRequest struct {
	// WorkItemTypeID identifies a resource in the request path.
	WorkItemTypeID string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetWorkItemTypeRequest contains parameters for GetWorkItemType.

type GetWorkTimeSettingsRequest

type GetWorkTimeSettingsRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
}

GetWorkTimeSettingsRequest contains parameters for GetWorkTimeSettings.

type GitHubChangesProcessor

type GitHubChangesProcessor struct {
	AddComments              *bool
	Enabled                  *bool
	Id                       *string
	LookupIssuesInBranchName *bool
	Project                  *Project
	RelatedProjects          []Project
	Server                   *GitHubServer
	VisibleForGroups         []UserGroup
	BranchSpecification      *string
	Committers               *UserGroup
	Path                     *string
}

GitHubChangesProcessor: Represents a GitHub integration configured for a project.

type GitHubServer

type GitHubServer struct {
	Id  *string
	Url *string
}

GitHubServer: Represents a GitHub server.

type GitLabChangesProcessor

type GitLabChangesProcessor struct {
	AddComments              *bool
	Enabled                  *bool
	Id                       *string
	LookupIssuesInBranchName *bool
	Project                  *Project
	RelatedProjects          []Project
	Server                   *GitLabServer
	VisibleForGroups         []UserGroup
	BranchSpecification      *string
	Committers               *UserGroup
	Path                     *string
}

GitLabChangesProcessor: Represents a GitLab integration configured for a project.

type GitLabServer

type GitLabServer struct {
	Id  *string
	Url *string
}

GitLabServer: Represents a GitLab server.

type GiteaChangesProcessor

type GiteaChangesProcessor struct {
	AddComments              *bool
	Enabled                  *bool
	Id                       *string
	LookupIssuesInBranchName *bool
	Project                  *Project
	RelatedProjects          []Project
	Server                   *GiteaServer
	VisibleForGroups         []UserGroup
	BranchSpecification      *string
	Committers               *UserGroup
	Path                     *string
}

GiteaChangesProcessor: Represents a Gitea integration configured for a project.

type GiteaServer

type GiteaServer struct {
	Id  *string
	Url *string
}

GiteaServer: Represents a Gitea server.

type GlobalScope

type GlobalScope struct {
	Id *string
}

type GlobalSettings

type GlobalSettings struct {
	AppearanceSettings   *AppearanceSettings
	Id                   *string
	License              *License
	LocaleSettings       *LocaleSettings
	NotificationSettings *NotificationSettings
	RestSettings         *RestCorsSettings
	SystemSettings       *SystemSettings
}

type GlobalTimeTrackingSettings

type GlobalTimeTrackingSettings struct {
	AttributePrototypes []WorkItemAttributePrototype
	Id                  *string
	WorkItemTypes       []WorkItemType
	WorkTimeSettings    *WorkTimeSettings
}

type GogsChangesProcessor

type GogsChangesProcessor struct {
	AddComments              *bool
	Enabled                  *bool
	Id                       *string
	LookupIssuesInBranchName *bool
	Project                  *Project
	RelatedProjects          []Project
	Server                   *GogsServer
	VisibleForGroups         []UserGroup
	BranchSpecification      *string
	Committers               *UserGroup
	Path                     *string
}

GogsChangesProcessor: Represents a Gogs integration configured for a project.

type GogsServer

type GogsServer struct {
	Id  *string
	Url *string
}

GogsServer: Represents a Gogs server.

type GroupProjectCustomField

type GroupProjectCustomField struct {
	CanBeEmpty     *bool
	Condition      CustomFieldCondition
	EmptyFieldText *string
	Field          *CustomField
	HasRunningJob  *bool
	Id             *string
	IsPublic       *bool
	Ordinal        *int
	Project        *Project
	DefaultValues  []UserGroup
}

GroupProjectCustomField: Represents project settings for a group custom field.

type Issue

type Issue struct {
	Attachments         []IssueAttachment
	Comments            []IssueComment
	CommentsCount       *int
	Created             *time.Time
	CustomFields        []IssueCustomField
	Description         *string
	DraftOwner          *User
	ExternalIssue       *ExternalIssue
	Id                  *string
	IdReadable          *string
	IsDraft             *bool
	Links               []IssueLink
	NumberInProject     *int
	Parent              *IssueLink
	PinnedComments      []IssueComment
	Project             *Project
	Reporter            *User
	Resolved            *time.Time
	Subtasks            []IssueLink
	Summary             *string
	Tags                []Tag
	Updated             *time.Time
	Updater             *User
	Visibility          Visibility
	Voters              *IssueVoters
	Votes               *int
	Watchers            *IssueWatchers
	WikifiedDescription *string
}

type IssueAttachment

type IssueAttachment struct {
	Author        *User
	Base64Content *string
	Charset       *string
	Comment       *IssueComment
	Created       *time.Time
	Draft         *bool
	Extension     *string
	Id            *string
	Issue         *Issue
	MetaData      *string
	MimeType      *string
	Name          *string
	Removed       *bool
	Size          *int
	ThumbnailURL  *string
	Updated       *time.Time
	Url           *string
	Visibility    Visibility
}

type IssueBasedSwimlaneSettings

type IssueBasedSwimlaneSettings struct {
	Enabled         *bool
	Id              *string
	DefaultCardType *SwimlaneValue
	Field           FilterField
	Values          []SwimlaneValue
}

IssueBasedSwimlaneSettings: Swimlane settings for the case, when each swimlane is represented by an issue and contains this issue's subtasks.

type IssueComment

type IssueComment struct {
	Attachments []IssueAttachment
	Author      *User
	Created     *time.Time
	Deleted     *bool
	Id          *string
	Issue       *Issue
	Pinned      *bool
	Reactions   []Reaction
	Text        *string
	TextPreview *string
	Updated     *time.Time
	Visibility  Visibility
}

type IssueCountResponse

type IssueCountResponse struct {
	Count          *int
	Folder         IssueFolder
	Id             *string
	Query          *string
	UnresolvedOnly *bool
}

type IssueCreatedActivityItem

type IssueCreatedActivityItem struct {
	Added        []Issue
	Author       *User
	Category     *ActivityCategory
	Field        FilterField
	Id           *string
	Removed      []Issue
	Target       *Issue
	TargetMember *string
	Timestamp    *time.Time
}

IssueCreatedActivityItem: Represents an event when a user creates a new issue.

type IssueCustomField

type IssueCustomField interface {
}

type IssueFolder

type IssueFolder interface {
}

IssueFolder: Represents an issue folder, such as a project, a saved search, or a tag.

type IssueKey

type IssueKey struct {
	Id              *string
	NumberInProject *int
	Project         *Project
}

IssueKey: Stores information about a project where the issue belongs or previously belonged. This entity appears as part of the ProjectActivityItem object.

type IssueLink struct {
	Direction     *string
	Id            *string
	Issues        []Issue
	LinkType      *IssueLinkType
	TrimmedIssues []Issue
}

type IssueLinkType

type IssueLinkType struct {
	Aggregation             *bool
	Directed                *bool
	Id                      *string
	LocalizedName           *string
	LocalizedSourceToTarget *string
	LocalizedTargetToSource *string
	Name                    *string
	ReadOnly                *bool
	SourceToTarget          *string
	TargetToSource          *string
}

type IssueResolvedActivityItem

type IssueResolvedActivityItem struct {
	Added        *time.Time
	Author       *User
	Category     *ActivityCategory
	Field        FilterField
	Id           *string
	Removed      *time.Time
	Target       *any
	TargetMember *string
	Timestamp    *time.Time
}

IssueResolvedActivityItem: Represents an event when a user resolves an issue.

type IssueTag

type IssueTag struct {
	Id                    *string
	Name                  *string
	Owner                 *User
	ReadSharingSettings   *WatchFolderSharingSettings
	UpdateSharingSettings *WatchFolderSharingSettings
	UpdateableBy          *UserGroup
	VisibleFor            *UserGroup
	Color                 *FieldStyle
	Issues                []Issue
	TagSharingSettings    *TagSharingSettings
	UntagOnResolve        *bool
}

IssueTag: Deprecated. Use `Tag` instead.

type IssueTimeTracker

type IssueTimeTracker struct {
	Enabled   *bool
	Id        *string
	WorkItems []IssueWorkItem
}

type IssueVoters

type IssueVoters struct {
	Duplicate []DuplicateVote
	HasVote   *bool
	Id        *string
	Original  []User
}

IssueVoters: Represents users that have voted for the issue or its duplicates.

type IssueWatcher

type IssueWatcher struct {
	Id        *string
	IsStarred *bool
	Issue     *Issue
	User      *User
}

IssueWatcher: Represents a user who subscribed for notifications about an issue.

type IssueWatchers

type IssueWatchers struct {
	DuplicateWatchers []IssueWatcher
	HasStar           *bool
	Id                *string
	IssueWatchers     []IssueWatcher
}

IssueWatchers: Represents users that are subscribed to notifications about the issue.

type IssueWorkItem

type IssueWorkItem struct {
	Id          *string
	Attributes  []WorkItemAttribute
	Author      *User
	Created     *time.Time
	Creator     *User
	Date        *time.Time
	Duration    *DurationValue
	Issue       *Issue
	Text        *string
	TextPreview *string
	Type        *WorkItemType
	Updated     *time.Time
}

IssueWorkItem: Represents a basic ancestor for work items.

type JenkinsChangesProcessor

type JenkinsChangesProcessor struct {
	AddComments              *bool
	Enabled                  *bool
	Id                       *string
	LookupIssuesInBranchName *bool
	Project                  *Project
	RelatedProjects          []Project
	Server                   *JenkinsServer
	VisibleForGroups         []UserGroup
}

JenkinsChangesProcessor: Represents a Jenkins integration configured for a project.

type JenkinsServer

type JenkinsServer struct {
	Id  *string
	Url *string
}

JenkinsServer: Represents a Jenkins server.

type License

type License struct {
	Error    *string
	Id       *string
	License  *string
	Username *string
}

type LimitedVisibility

type LimitedVisibility struct {
	Id              *string
	PermittedGroups []UserGroup
	PermittedUsers  []User
}

LimitedVisibility: Represents visibility limited to several users and/or groups.

type LinksActivityItem

type LinksActivityItem struct {
	Added        []Issue
	Author       *User
	Category     *ActivityCategory
	Field        FilterField
	Id           *string
	Removed      []Issue
	Target       *Issue
	TargetMember *string
	Timestamp    *time.Time
}

LinksActivityItem: Represents a change in the `issues` attribute of an IssueLink entity. That is, each issue has the `links` attribute that contains an array of IssueLink entities. Each of them represents a link between the target issue and a collection of issues. For example, a set of issues to which the target one is linked as "Duplicated by". The change in the list of these issues is represented by `LinksActivityItem` entity.

type ListActivityItemsAtIssuesByIDActivitiesRequest

type ListActivityItemsAtIssuesByIDActivitiesRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Author: Parameter to filter activities by the author. You can specify one of the following
	// parameters: the database ID, login, Hub ID, or `me` for the currently logged in user.
	Author     string
	Categories string
	// End: The timestamp in milliseconds indicating the end of the time interval the activity
	// timestamp belongs to. Stored as a unix timestamp at UTC. If the parameter is not set, it is
	// considered as `Long.MAX_VALUE`.
	End string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// Reverse: Indicates whether the order of returning activities is from newest to oldest or the
	// opposite. If `false`, then the oldest activity item that matches a selected filter is returned
	// first. If `true`, then the newest activity is returned first. By default, `false`.
	Reverse bool
	// Start: The timestamp in milliseconds indicating the start of the time interval the activity
	// timestamp belongs to. Stored as a unix timestamp at UTC. If the parameter is not set, it is
	// considered to be 0.
	Start string
}

ListActivityItemsAtIssuesByIDActivitiesRequest contains parameters for ListActivityItemsAtIssuesByIDActivities.

type ListActivityItemsRequest

type ListActivityItemsRequest struct {
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Author: Parameter to filter activities by the author. You can specify one of the following
	// parameters: the database ID, login, Hub ID, or `me` for the currently logged in user.
	Author     string
	Categories string
	// End: The timestamp in milliseconds indicating the end of the time interval the activity
	// timestamp belongs to. Stored as a unix timestamp at UTC. If the parameter is not set, it is
	// considered as `Long.MAX_VALUE`.
	End string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// IssueQuery: Issue search query. For details about search syntax, refer to the YouTrack
	// documentation
	// (https://www.jetbrains.com/help/youtrack/cloud/search-and-command-attributes.html).
	IssueQuery string
	// Reverse: Indicates whether the order of returning activities is from newest to oldest or the
	// opposite. If `false`, then the oldest activity item that matches a selected filter is returned
	// first. If `true`, then the newest activity is returned first. By default, `false`.
	Reverse bool
	// Start: The timestamp in milliseconds indicating the start of the time interval the activity
	// timestamp belongs to. Stored as a unix timestamp at UTC. If the parameter is not set, it is
	// considered to be 0.
	Start string
}

ListActivityItemsRequest contains parameters for ListActivityItems.

type ListAgilesRequest

type ListAgilesRequest struct {
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListAgilesRequest contains parameters for ListAgiles.

type ListArticleAttachmentsRequest

type ListArticleAttachmentsRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListArticleAttachmentsRequest contains parameters for ListArticleAttachments.

type ListArticleCommentsRequest

type ListArticleCommentsRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListArticleCommentsRequest contains parameters for ListArticleComments.

type ListArticlesAtAdminProjectsByIDArticlesRequest

type ListArticlesAtAdminProjectsByIDArticlesRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListArticlesAtAdminProjectsByIDArticlesRequest contains parameters for ListArticlesAtAdminProjectsByIDArticles.

type ListArticlesAtArticlesByIDChildArticlesRequest

type ListArticlesAtArticlesByIDChildArticlesRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListArticlesAtArticlesByIDChildArticlesRequest contains parameters for ListArticlesAtArticlesByIDChildArticles.

type ListArticlesRequest

type ListArticlesRequest struct {
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListArticlesRequest contains parameters for ListArticles.

type ListAssignedRolesRequest

type ListAssignedRolesRequest struct {
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
	Query  string
}

ListAssignedRolesRequest contains parameters for ListAssignedRoles.

type ListBackupFilesRequest

type ListBackupFilesRequest struct {
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListBackupFilesRequest contains parameters for ListBackupFiles.

type ListBuildBundleElementsRequest

type ListBuildBundleElementsRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListBuildBundleElementsRequest contains parameters for ListBuildBundleElements.

type ListBuildBundlesRequest

type ListBuildBundlesRequest struct {
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListBuildBundlesRequest contains parameters for ListBuildBundles.

type ListCustomFieldsRequest

type ListCustomFieldsRequest struct {
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListCustomFieldsRequest contains parameters for ListCustomFields.

type ListEnumBundleElementsRequest

type ListEnumBundleElementsRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListEnumBundleElementsRequest contains parameters for ListEnumBundleElements.

type ListEnumBundlesRequest

type ListEnumBundlesRequest struct {
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListEnumBundlesRequest contains parameters for ListEnumBundles.

type ListFieldTypesRequest

type ListFieldTypesRequest struct {
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListFieldTypesRequest contains parameters for ListFieldTypes.

type ListIssueAttachmentsRequest

type ListIssueAttachmentsRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListIssueAttachmentsRequest contains parameters for ListIssueAttachments.

type ListIssueCommentsRequest

type ListIssueCommentsRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListIssueCommentsRequest contains parameters for ListIssueComments.

type ListIssueCustomFieldsRequest

type ListIssueCustomFieldsRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListIssueCustomFieldsRequest contains parameters for ListIssueCustomFields.

type ListIssueLinkTypesRequest

type ListIssueLinkTypesRequest struct {
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListIssueLinkTypesRequest contains parameters for ListIssueLinkTypes.

type ListIssueLinksRequest

type ListIssueLinksRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListIssueLinksRequest contains parameters for ListIssueLinks.

type ListIssueWorkItemsAtIssuesByIDTimeTrackingWorkItemsRequest

type ListIssueWorkItemsAtIssuesByIDTimeTrackingWorkItemsRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListIssueWorkItemsAtIssuesByIDTimeTrackingWorkItemsRequest contains parameters for ListIssueWorkItemsAtIssuesByIDTimeTrackingWorkItems.

type ListIssueWorkItemsRequest

type ListIssueWorkItemsRequest struct {
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top    int
	Author string
	// CreatedEnd: A timestamp in milliseconds indicating the end of the interval during which work
	// items were created.
	CreatedEnd int64
	// CreatedStart: A timestamp in milliseconds indicating the start of the interval during which work
	// items were created.
	CreatedStart int64
	Creator      string
	// End: A timestamp in milliseconds indicating the end of the interval where the work item dates
	// belong.
	End int64
	// EndDate: The end date of the time interval where the work item dates belong. Accepts a date in a
	// string format: `YYYY-MM-DD`.
	EndDate string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// Query: Issue search query. Read more about the search syntax here: Search Query Reference
	// (https://www.jetbrains.com/help/youtrack/cloud/?Search-and-Command-Attributes)
	Query string
	// Start: A timestamp in milliseconds indicating the start of the interval where the work item
	// dates belong.
	Start int64
	// StartDate: The start date of the time interval where the work item dates belong. Accepts a date
	// in a string format: `YYYY-MM-DD`.
	StartDate string
	// UpdatedEnd: A timestamp in milliseconds indicating the end of the interval during which work
	// items were updated.
	UpdatedEnd int64
	// UpdatedStart: A timestamp in milliseconds indicating the start of the interval during which work
	// items were updated.
	UpdatedStart int64
}

ListIssueWorkItemsRequest contains parameters for ListIssueWorkItems.

type ListIssuesAtAdminProjectsByIDIssuesRequest

type ListIssuesAtAdminProjectsByIDIssuesRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// CustomFields: The name of the custom field to show in the response. When you use this parameter
	// and request the custom field data in the request URL, the response only shows the requested
	// custom fields instead of all of them. To show more than one custom field, use this parameter
	// several times. See Sample 2 for reference.
	CustomFields string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListIssuesAtAdminProjectsByIDIssuesRequest contains parameters for ListIssuesAtAdminProjectsByIDIssues.

type ListIssuesAtIssuesByIDLinksByIssueLinkIDIssuesRequest

type ListIssuesAtIssuesByIDLinksByIssueLinkIDIssuesRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// IssueLinkID identifies a resource in the request path.
	IssueLinkID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListIssuesAtIssuesByIDLinksByIssueLinkIDIssuesRequest contains parameters for ListIssuesAtIssuesByIDLinksByIssueLinkIDIssues.

type ListIssuesAtTagsByIDIssuesRequest

type ListIssuesAtTagsByIDIssuesRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// CustomFields: The name of the custom field to show in the response. When you use this parameter
	// and request the custom field data in the request URL, the response only shows the requested
	// custom fields instead of all of them. To show more than one custom field, use this parameter
	// several times. See Sample 2 for reference.
	CustomFields string
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListIssuesAtTagsByIDIssuesRequest contains parameters for ListIssuesAtTagsByIDIssues.

type ListIssuesRequest

type ListIssuesRequest struct {
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// CustomFields: The name of the custom field to show in the response. When you use this parameter
	// and request the custom field data in the request URL, the response only shows the requested
	// custom fields instead of all of them. To show more than one custom field, use this parameter
	// several times. See Sample 2 for reference.
	CustomFields string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// Query: Issue search query. Read more about the search syntax here: Search Query Reference
	// (https://www.jetbrains.com/help/youtrack/cloud/?Search-and-Command-Attributes)
	Query string
}

ListIssuesRequest contains parameters for ListIssues.

type ListNestedGroupsRequest

type ListNestedGroupsRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListNestedGroupsRequest contains parameters for ListNestedGroups.

type ListOrganizationsRequest

type ListOrganizationsRequest struct {
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListOrganizationsRequest contains parameters for ListOrganizations.

type ListOwnedBundleElementsRequest

type ListOwnedBundleElementsRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListOwnedBundleElementsRequest contains parameters for ListOwnedBundleElements.

type ListOwnedBundlesRequest

type ListOwnedBundlesRequest struct {
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListOwnedBundlesRequest contains parameters for ListOwnedBundles.

type ListPermissionsRequest

type ListPermissionsRequest struct {
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListPermissionsRequest contains parameters for ListPermissions.

type ListProjectCustomFieldsAtAdminCustomFieldSettingsCustomFieldsByIDInstancesRequest

type ListProjectCustomFieldsAtAdminCustomFieldSettingsCustomFieldsByIDInstancesRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListProjectCustomFieldsAtAdminCustomFieldSettingsCustomFieldsByIDInstancesRequest contains parameters for ListProjectCustomFieldsAtAdminCustomFieldSettingsCustomFieldsByIDInstances.

type ListProjectCustomFieldsRequest

type ListProjectCustomFieldsRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListProjectCustomFieldsRequest contains parameters for ListProjectCustomFields.

type ListProjectsRequest

type ListProjectsRequest struct {
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListProjectsRequest contains parameters for ListProjects.

type ListReactionsAtIssuesByIDCommentsByIssueCommentIDReactionsRequest

type ListReactionsAtIssuesByIDCommentsByIssueCommentIDReactionsRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// IssueCommentID identifies a resource in the request path.
	IssueCommentID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListReactionsAtIssuesByIDCommentsByIssueCommentIDReactionsRequest contains parameters for ListReactionsAtIssuesByIDCommentsByIssueCommentIDReactions.

type ListReactionsRequest

type ListReactionsRequest struct {
	// ArticleCommentID identifies a resource in the request path.
	ArticleCommentID string
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListReactionsRequest contains parameters for ListReactions.

type ListRolesRequest

type ListRolesRequest struct {
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListRolesRequest contains parameters for ListRoles.

type ListSavedQueriesAtUsersByIDSavedQueriesRequest

type ListSavedQueriesAtUsersByIDSavedQueriesRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListSavedQueriesAtUsersByIDSavedQueriesRequest contains parameters for ListSavedQueriesAtUsersByIDSavedQueries.

type ListSavedQueriesRequest

type ListSavedQueriesRequest struct {
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListSavedQueriesRequest contains parameters for ListSavedQueries.

type ListSprintsAtIssuesByIDSprintsRequest

type ListSprintsAtIssuesByIDSprintsRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListSprintsAtIssuesByIDSprintsRequest contains parameters for ListSprintsAtIssuesByIDSprints.

type ListSprintsRequest

type ListSprintsRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListSprintsRequest contains parameters for ListSprints.

type ListStateBundleElementsRequest

type ListStateBundleElementsRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListStateBundleElementsRequest contains parameters for ListStateBundleElements.

type ListStateBundlesRequest

type ListStateBundlesRequest struct {
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListStateBundlesRequest contains parameters for ListStateBundles.

type ListTagsAtArticlesByIDTagsRequest

type ListTagsAtArticlesByIDTagsRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListTagsAtArticlesByIDTagsRequest contains parameters for ListTagsAtArticlesByIDTags.

type ListTagsAtIssuesByIDTagsRequest

type ListTagsAtIssuesByIDTagsRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListTagsAtIssuesByIDTagsRequest contains parameters for ListTagsAtIssuesByIDTags.

type ListTagsAtUsersByIDTagsRequest

type ListTagsAtUsersByIDTagsRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListTagsAtUsersByIDTagsRequest contains parameters for ListTagsAtUsersByIDTags.

type ListTagsRequest

type ListTagsRequest struct {
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
	// Query: Tag search query. Use the name of the tag to filter the list of tags. To learn more about
	// search queries, see Query Syntax (api-query-syntax.topic).
	Query string
}

ListTagsRequest contains parameters for ListTags.

type ListUserBundlesRequest

type ListUserBundlesRequest struct {
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListUserBundlesRequest contains parameters for ListUserBundles.

type ListUserGroupsAtAdminCustomFieldSettingsBundlesUserByIDGroupsRequest

type ListUserGroupsAtAdminCustomFieldSettingsBundlesUserByIDGroupsRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListUserGroupsAtAdminCustomFieldSettingsBundlesUserByIDGroupsRequest contains parameters for ListUserGroupsAtAdminCustomFieldSettingsBundlesUserByIDGroups.

type ListUserGroupsAtAdminProjectsByIDTeamGroupsRequest

type ListUserGroupsAtAdminProjectsByIDTeamGroupsRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListUserGroupsAtAdminProjectsByIDTeamGroupsRequest contains parameters for ListUserGroupsAtAdminProjectsByIDTeamGroups.

type ListUserGroupsRequest

type ListUserGroupsRequest struct {
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
	// Query: A search query.
	Query string
}

ListUserGroupsRequest contains parameters for ListUserGroups.

type ListUsersAtAdminCustomFieldSettingsBundlesUserByIDAggregatedUsersRequest

type ListUsersAtAdminCustomFieldSettingsBundlesUserByIDAggregatedUsersRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListUsersAtAdminCustomFieldSettingsBundlesUserByIDAggregatedUsersRequest contains parameters for ListUsersAtAdminCustomFieldSettingsBundlesUserByIDAggregatedUsers.

type ListUsersAtAdminCustomFieldSettingsBundlesUserByIDIndividualsRequest

type ListUsersAtAdminCustomFieldSettingsBundlesUserByIDIndividualsRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListUsersAtAdminCustomFieldSettingsBundlesUserByIDIndividualsRequest contains parameters for ListUsersAtAdminCustomFieldSettingsBundlesUserByIDIndividuals.

type ListUsersAtAdminProjectsByIDTeamOwnUsersRequest

type ListUsersAtAdminProjectsByIDTeamOwnUsersRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListUsersAtAdminProjectsByIDTeamOwnUsersRequest contains parameters for ListUsersAtAdminProjectsByIDTeamOwnUsers.

type ListUsersAtAdminProjectsByIDTeamUsersRequest

type ListUsersAtAdminProjectsByIDTeamUsersRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListUsersAtAdminProjectsByIDTeamUsersRequest contains parameters for ListUsersAtAdminProjectsByIDTeamUsers.

type ListUsersAtGroupsByIDOwnUsersRequest

type ListUsersAtGroupsByIDOwnUsersRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListUsersAtGroupsByIDOwnUsersRequest contains parameters for ListUsersAtGroupsByIDOwnUsers.

type ListUsersAtGroupsByIDUsersRequest

type ListUsersAtGroupsByIDUsersRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListUsersAtGroupsByIDUsersRequest contains parameters for ListUsersAtGroupsByIDUsers.

type ListUsersRequest

type ListUsersRequest struct {
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListUsersRequest contains parameters for ListUsers.

type ListVcsChangesRequest

type ListVcsChangesRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListVcsChangesRequest contains parameters for ListVcsChanges.

type ListVersionBundleElementsRequest

type ListVersionBundleElementsRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListVersionBundleElementsRequest contains parameters for ListVersionBundleElements.

type ListVersionBundlesRequest

type ListVersionBundlesRequest struct {
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListVersionBundlesRequest contains parameters for ListVersionBundles.

type ListWorkItemTypesAtAdminProjectsByIDTimeTrackingSettingsWorkItemTypesRequest

type ListWorkItemTypesAtAdminProjectsByIDTimeTrackingSettingsWorkItemTypesRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListWorkItemTypesAtAdminProjectsByIDTimeTrackingSettingsWorkItemTypesRequest contains parameters for ListWorkItemTypesAtAdminProjectsByIDTimeTrackingSettingsWorkItemTypes.

type ListWorkItemTypesRequest

type ListWorkItemTypesRequest struct {
	// Skip is the number of matching resources to skip.
	Skip int
	// Top is the maximum number of resources to return.
	Top int
	// Fields selects the fields returned by YouTrack.
	Fields string
}

ListWorkItemTypesRequest contains parameters for ListWorkItemTypes.

type LocaleDescriptor

type LocaleDescriptor struct {
	Community *bool
	Id        *string
	Language  *string
	Locale    *string
	Name      *string
}

LocaleDescriptor: Represents a language locale that is used in UI.

type LocaleSettings

type LocaleSettings struct {
	Id     *string
	IsRTL  *bool
	Locale *LocaleDescriptor
}

type LocalizableBundleElement

type LocalizableBundleElement interface {
	BundleElement
}

LocalizableBundleElement: Represents field value that can be localized.

type Logo struct {
	Id  *string
	Url *string
}

Logo: Company logo that is used in YouTrack.

type Me

type Me struct {
	AvatarUrl    *string
	Banned       *bool
	Email        *string
	FullName     *string
	Guest        *bool
	Id           *string
	IsAnonymized *bool
	Login        *string
	Online       *bool
	Profiles     *UserProfiles
	RingId       *string
	SavedQueries []SavedQuery
	Tags         []Tag
	UserType     *UserType
}

type MultiBuildIssueCustomField

type MultiBuildIssueCustomField struct {
	Id                 *string
	Name               *string
	ProjectCustomField ProjectCustomField
	Value              []BuildBundleElement
}

MultiBuildIssueCustomField: Represents a multi-value build-type custom field in the issue.

type MultiEnumIssueCustomField

type MultiEnumIssueCustomField struct {
	Id                 *string
	Name               *string
	ProjectCustomField ProjectCustomField
	Value              []EnumBundleElement
}

MultiEnumIssueCustomField: Represents a multi-value enum-type custom field in the issue.

type MultiGroupIssueCustomField

type MultiGroupIssueCustomField struct {
	Id                 *string
	Name               *string
	ProjectCustomField ProjectCustomField
	Value              []UserGroup
}

MultiGroupIssueCustomField: Represents a multi-value group-type custom field in the issue.

type MultiOwnedIssueCustomField

type MultiOwnedIssueCustomField struct {
	Id                 *string
	Name               *string
	ProjectCustomField ProjectCustomField
	Value              []OwnedBundleElement
}

MultiOwnedIssueCustomField: Represents a multi-value owned-type custom field in the issue.

type MultiUserIssueCustomField

type MultiUserIssueCustomField struct {
	Id                 *string
	Name               *string
	ProjectCustomField ProjectCustomField
	Value              []User
}

MultiUserIssueCustomField: Represents a multi-value user-type custom field in the issue.

type MultiValueActivityItem

type MultiValueActivityItem interface {
	ActivityItem
}

MultiValueActivityItem: Represents a change in an entity attribute that has type of `Array of <Entities>`.

type MultiVersionIssueCustomField

type MultiVersionIssueCustomField struct {
	Id                 *string
	Name               *string
	ProjectCustomField ProjectCustomField
	Value              []VersionBundleElement
}

MultiVersionIssueCustomField: Represents a multi-value version-type custom field in the issue.

type NestedGroup

type NestedGroup struct {
	AllUsersGroup                  *bool
	Icon                           *string
	Id                             *string
	Name                           *string
	RingId                         *string
	Users                          []User
	UsersCount                     *int
	AutoJoin                       *bool
	AutoJoinDomain                 *string
	OwnUsers                       *User
	ParentGroup                    *NestedGroup
	RequireTwoFactorAuthentication *bool
	SubGroups                      *NestedGroup
	Updaters                       *any
	Viewers                        *any
}

NestedGroup: Represents a user group in YouTrack that either has a parent or subgroups.

type NotificationSettings

type NotificationSettings struct {
	EmailSettings *EmailSettings
	Id            *string
}

type NotificationsUserProfile

type NotificationsUserProfile struct {
	AutoWatchOnComment                     *bool
	AutoWatchOnCreate                      *bool
	AutoWatchOnUpdate                      *bool
	AutoWatchOnVote                        *bool
	DuplicateClusterNotificationsEnabled   *bool
	EmailNotificationsEnabled              *bool
	Id                                     *string
	MailboxIntegrationNotificationsEnabled *bool
	MentionNotificationsEnabled            *bool
	NotifyOnOwnChanges                     *bool
	UsePlainTextEmails                     *bool
}

type OnlineUsers

type OnlineUsers struct {
	Id    *string
	Users *int
}

OnlineUsers: Stores number of online user.

type Organization

type Organization struct {
	Description *string
	IconUrl     *string
	Id          *string
	Key         *string
	Name        *string
	Projects    []Project
}

type OrganizationScope

type OrganizationScope struct {
	Id           *string
	Organization *Organization
}

type OwnedBundle

type OwnedBundle struct {
	Id           *string
	IsUpdateable *bool
	Values       []OwnedBundleElement
}

OwnedBundle: Represents a set of field values in YouTrack.

type OwnedBundleCustomFieldDefaults

type OwnedBundleCustomFieldDefaults struct {
	CanBeEmpty     *bool
	EmptyFieldText *string
	Id             *string
	IsPublic       *bool
	Parent         *CustomField
	Bundle         *OwnedBundle
	DefaultValues  []OwnedBundleElement
}

OwnedBundleCustomFieldDefaults: Default settings for the owned-type field.

type OwnedBundleElement

type OwnedBundleElement struct {
	Archived      *bool
	Bundle        Bundle
	Color         *FieldStyle
	Description   *string
	HasRunningJob *bool
	Id            *string
	Name          *string
	Ordinal       *int
	Owner         *User
}

OwnedBundleElement: Represents a field value in YouTrack.

type OwnedProjectCustomField

type OwnedProjectCustomField struct {
	CanBeEmpty     *bool
	Condition      CustomFieldCondition
	EmptyFieldText *string
	Field          *CustomField
	HasRunningJob  *bool
	Id             *string
	IsPublic       *bool
	Ordinal        *int
	Project        *Project
	Bundle         *OwnedBundle
	DefaultValues  []OwnedBundleElement
}

OwnedProjectCustomField: Represents project settings for an owned field.

type Pager

type Pager[R any, T any] struct {
	// contains filtered or unexported fields
}

func NewPager

func NewPager[R any, T any](f func(ctx context.Context, r R) ([]T, error), req *R) Pager[R, T]

func (*Pager[R, T]) All

func (t *Pager[R, T]) All(ctx context.Context) ([]T, error)

func (*Pager[R, T]) Next

func (t *Pager[R, T]) Next(ctx context.Context) (*T, bool, error)

type ParsedCommand

type ParsedCommand struct {
	Delete      *bool
	Description *string
	Error       *bool
	Id          *string
}

ParsedCommand: Represents the command that was parsed from the provided query.

type PeriodFieldFormat

type PeriodFieldFormat struct {
	Id *string
}

PeriodFieldFormat: Represents the format, in which the period values are displayed to the user.

type PeriodIssueCustomField

type PeriodIssueCustomField struct {
	Id                 *string
	Name               *string
	ProjectCustomField ProjectCustomField
	Value              *PeriodValue
}

PeriodIssueCustomField: Represents the period field in the issue.

type PeriodProjectCustomField

type PeriodProjectCustomField struct {
	CanBeEmpty     *bool
	Condition      CustomFieldCondition
	EmptyFieldText *string
	Field          *CustomField
	HasRunningJob  *bool
	Id             *string
	IsPublic       *bool
	Ordinal        *int
	Project        *Project
}

PeriodProjectCustomField: Represents project settings for the period field.

type PeriodValue

type PeriodValue struct {
	Id           *string
	Minutes      *int
	Presentation *string
}

PeriodValue: Represents the period field value.

type Permission

type Permission struct {
	DependentPermissions []Permission
	Description          *string
	Id                   *string
	ImpliedPermissions   []Permission
	Name                 *string
	Operation            *string
	PermissionEntityType *string
	Scope                *any
}

type PredefinedFilterField

type PredefinedFilterField struct {
	Id           *string
	Name         *string
	Presentation *string
}

PredefinedFilterField: Represents a predefined field of the issue. Predefined fields are always present in an issue and |cannot be customized in a project. For example, `project`, `created`, |`updated`, `tags`, and so on.

type Project

type Project struct {
	Id             *string
	Name           *string
	Archived       *bool
	CreatedBy      *User
	CustomFields   []ProjectCustomField
	Description    *string
	FromEmail      *string
	IconUrl        *string
	Issues         []Issue
	Leader         *User
	ReplyToEmail   *string
	ShortName      *string
	StartingNumber *int
	Team           *ProjectTeam
	Template       *bool
}

Project: Represents an issue folder, such as a project, a saved search, or a tag.

type ProjectActivityItem

type ProjectActivityItem struct {
	Added        *IssueKey
	Author       *User
	Category     *ActivityCategory
	Field        FilterField
	Id           *string
	Removed      *IssueKey
	Target       *Issue
	TargetMember *string
	Timestamp    *time.Time
}

ProjectActivityItem: Represents the change in the project attribute on an issue.

type ProjectBasedColorCoding

type ProjectBasedColorCoding struct {
	Id            *string
	ProjectColors []ProjectColor
}

ProjectBasedColorCoding: Lets you set a color for a card based on its project.

type ProjectColor

type ProjectColor struct {
	Color   *FieldStyle
	Id      *string
	Project *Project
}

ProjectColor: Represents color setting for one project on the board.

type ProjectCustomField

type ProjectCustomField interface {
}

type ProjectScope

type ProjectScope struct {
	Id      *string
	Project *Project
}

type ProjectTeam

type ProjectTeam struct {
	AllUsersGroup *bool
	Icon          *string
	Id            *string
	Name          *string
	RingId        *string
	Users         []User
	UsersCount    *int
	Groups        []UserGroup
	OwnUsers      []User
	Project       *Project
}

ProjectTeam: User group representing all members of the project team.

type ProjectTimeTrackingSettings

type ProjectTimeTrackingSettings struct {
	Attributes    []WorkItemProjectAttribute
	Enabled       *bool
	Estimate      ProjectCustomField
	Id            *string
	Project       *Project
	TimeSpent     ProjectCustomField
	WorkItemTypes []WorkItemType
}

type PullRequest

type PullRequest struct {
	Author                *User
	Branch                *string
	Date                  *time.Time
	Fetched               *time.Time
	Files                 *int
	HubUserNotFoundReason *int
	Id                    *string
	IdExternal            *string
	IdReadable            *string
	Issue                 *Issue
	Processor             ChangesProcessor
	Text                  *string
	TextPreview           *string
	Title                 *string
	TitlePreview          *string
	Url                   *string
	UserNotFoundReason    *int
}

type PullRequestChange

type PullRequestChange struct {
	Author                *User
	Fetched               *time.Time
	HubUserNotFoundReason *int
	Id                    *string
	PullRequest           *PullRequest
	Reopened              *bool
	State                 *PullRequestState
	UserNotFoundReason    *int
}

PullRequestChange: Represents a state change in a pull request linked to an issue.

type PullRequestChangeActivityItem

type PullRequestChangeActivityItem struct {
	Added        []PullRequestChange
	Author       *User
	Category     *ActivityCategory
	Field        FilterField
	Id           *string
	Removed      []PullRequestChange
	Target       *any
	TargetMember *string
	Timestamp    *time.Time
	PullRequest  *PullRequest
}

PullRequestChangeActivityItem: Represents an update in the list of pull request changes of an issue.

type PullRequestState

type PullRequestState struct {
	Id *string
}

PullRequestState: Represents the state of a pull request. The available states are `OPEN`, `MERGED`, and `DECLINED`.

type Reaction

type Reaction struct {
	Author   *User
	Id       *string
	Reaction *string
}

type RegisteredUsersGroup

type RegisteredUsersGroup struct {
	AllUsersGroup *bool
	Icon          *string
	Id            *string
	Name          *string
	RingId        *string
	Users         []User
	UsersCount    *int
}

RegisteredUsersGroup: Represents a group containing all users excluding guest.

type RestCorsSettings

type RestCorsSettings struct {
	AllowAllOrigins *bool
	AllowedOrigins  []string
	Id              *string
}

type Role

type Role struct {
	Description *string
	Id          *string
	Immutable   *bool
	Name        *string
	Permissions []Permission
}

type SavedQuery

type SavedQuery struct {
	Id                    *string
	Name                  *string
	Owner                 *User
	ReadSharingSettings   *WatchFolderSharingSettings
	UpdateSharingSettings *WatchFolderSharingSettings
	UpdateableBy          *UserGroup
	VisibleFor            *UserGroup
	Issues                []Issue
	Query                 *string
}

SavedQuery: `WatchFolder` is a common abstract ancestor for saved searches and tags.

type SearchSuggestions

type SearchSuggestions struct {
	Caret                   *int
	Folders                 []IssueFolder
	Id                      *string
	IgnoreUnresolvedSetting *bool
	Query                   *string
	Suggestions             []Suggestion
}

type SimpleIssueCustomField

type SimpleIssueCustomField struct {
	Id                 *string
	Name               *string
	ProjectCustomField ProjectCustomField
	Value              *any
}

SimpleIssueCustomField: Represents a simple-type custom field in the issue.

type SimpleProjectCustomField

type SimpleProjectCustomField struct {
	CanBeEmpty     *bool
	Condition      CustomFieldCondition
	EmptyFieldText *string
	Field          *CustomField
	HasRunningJob  *bool
	Id             *string
	IsPublic       *bool
	Ordinal        *int
	Project        *Project
}

SimpleProjectCustomField: Represents project settings for the fields of the following types: `integer`, `float`, `date`, `date and time`, `string`.

type SimpleValueActivityItem

type SimpleValueActivityItem interface {
	SingleValueActivityItem
}

SimpleValueActivityItem: Represents the change in attributes of a simple type in the target entity: Issue, IssueComment, WorkItem, IssueAttachment.

type SingleBuildIssueCustomField

type SingleBuildIssueCustomField struct {
	Id                 *string
	Name               *string
	ProjectCustomField ProjectCustomField
	Value              *BuildBundleElement
}

SingleBuildIssueCustomField: Represents a single-value build-type custom field in the issue.

type SingleEnumIssueCustomField

type SingleEnumIssueCustomField struct {
	Id                 *string
	Name               *string
	ProjectCustomField ProjectCustomField
	Value              *EnumBundleElement
}

SingleEnumIssueCustomField: Represents a single-value enum-type custom field in the issue.

type SingleGroupIssueCustomField

type SingleGroupIssueCustomField struct {
	Id                 *string
	Name               *string
	ProjectCustomField ProjectCustomField
	Value              *UserGroup
}

SingleGroupIssueCustomField: Represents a single-value group-type custom field in the issue.

type SingleOwnedIssueCustomField

type SingleOwnedIssueCustomField struct {
	Id                 *string
	Name               *string
	ProjectCustomField ProjectCustomField
	Value              *OwnedBundleElement
}

SingleOwnedIssueCustomField: Represents a single-value owned-type custom field in the issue.

type SingleUserIssueCustomField

type SingleUserIssueCustomField struct {
	Id                 *string
	Name               *string
	ProjectCustomField ProjectCustomField
	Value              *User
}

SingleUserIssueCustomField: Represents a single-value user-type custom field in the issue.

type SingleValueActivityItem

type SingleValueActivityItem interface {
	ActivityItem
}

SingleValueActivityItem: Describe change of properties that can have single value.

type SingleVersionIssueCustomField

type SingleVersionIssueCustomField struct {
	Id                 *string
	Name               *string
	ProjectCustomField ProjectCustomField
	Value              *VersionBundleElement
}

SingleVersionIssueCustomField: Represents a single-value version-type custom field in the issue.

type SpaceChangesProcessor

type SpaceChangesProcessor struct {
	AddComments              *bool
	Enabled                  *bool
	Id                       *string
	LookupIssuesInBranchName *bool
	Project                  *Project
	RelatedProjects          []Project
	Server                   *SpaceServer
	VisibleForGroups         []UserGroup
	BranchSpecification      *string
	Committers               *UserGroup
	Path                     *string
}

SpaceChangesProcessor: Represents a Space integration configured for a project.

type SpaceServer

type SpaceServer struct {
	Id  *string
	Url *string
}

SpaceServer: Represents a Space server.

type Sprint

type Sprint struct {
	Agile                 *Agile
	Archived              *bool
	Finish                *time.Time
	Goal                  *string
	Id                    *string
	IsDefault             *bool
	Issues                []Issue
	Name                  *string
	PreviousSprint        *Sprint
	Start                 *time.Time
	UnresolvedIssuesCount *int
}

type SprintActivityItem

type SprintActivityItem struct {
	Added        []Sprint
	Author       *User
	Category     *ActivityCategory
	Field        FilterField
	Id           *string
	Removed      []Sprint
	Target       *Issue
	TargetMember *string
	Timestamp    *time.Time
}

SprintActivityItem: Represents a change in the issue when it was added to or removed from an agile board sprint.

type SprintsSettings

type SprintsSettings struct {
	CardOnSeveralSprints *bool
	DefaultSprint        *Sprint
	DisableSprints       *bool
	ExplicitQuery        *string
	HideSubtasksOfCards  *bool
	Id                   *string
	IsExplicit           *bool
	SprintSyncField      *CustomField
}

SprintsSettings: Describes sprints configuration.

type StarWatchFolder

type StarWatchFolder struct {
	Id                    *string
	Name                  *string
	Owner                 *User
	ReadSharingSettings   *WatchFolderSharingSettings
	UpdateSharingSettings *WatchFolderSharingSettings
	UpdateableBy          *UserGroup
	VisibleFor            *UserGroup
	RemoveOnResolve       *bool
}

StarWatchFolder: Represents the Star folder.

type StateBundle

type StateBundle struct {
	Id           *string
	IsUpdateable *bool
	Values       []StateBundleElement
}

StateBundle: Represents a set of field values in YouTrack.

type StateBundleCustomFieldDefaults

type StateBundleCustomFieldDefaults struct {
	CanBeEmpty     *bool
	EmptyFieldText *string
	Id             *string
	IsPublic       *bool
	Parent         *CustomField
	Bundle         *StateBundle
	DefaultValues  []StateBundleElement
}

StateBundleCustomFieldDefaults: Default settings for the state-type field.

type StateBundleElement

type StateBundleElement struct {
	Archived      *bool
	Bundle        Bundle
	Color         *FieldStyle
	Description   *string
	HasRunningJob *bool
	Id            *string
	Name          *string
	Ordinal       *int
	LocalizedName *string
	IsResolved    *bool
}

StateBundleElement: Represents field value that can be localized.

type StateIssueCustomField

type StateIssueCustomField struct {
	Id                 *string
	Name               *string
	ProjectCustomField ProjectCustomField
	Value              *StateBundleElement
}

StateIssueCustomField: Represents a single-value state-type custom field in the issue.

type StateMachineIssueCustomField

type StateMachineIssueCustomField struct {
	Id                 *string
	Name               *string
	ProjectCustomField ProjectCustomField
	Value              *any
	Event              *Event
	PossibleEvents     []Event
}

StateMachineIssueCustomField: Represents the issue custom field that is managed by a state-machine rule in workflow.

type StateProjectCustomField

type StateProjectCustomField struct {
	CanBeEmpty     *bool
	Condition      CustomFieldCondition
	EmptyFieldText *string
	Field          *CustomField
	HasRunningJob  *bool
	Id             *string
	IsPublic       *bool
	Ordinal        *int
	Project        *Project
	Bundle         *StateBundle
	DefaultValues  []StateBundleElement
}

StateProjectCustomField: Represents project settings for a state field.

type StorageEntry

type StorageEntry struct {
	Id   *string
	Name *string
}

StorageEntry: SSL key representation.

type Suggestion

type Suggestion struct {
	AuxiliaryIcon   *string
	Caret           *int
	ClassName       *string
	CompletionEnd   *int
	CompletionStart *int
	Description     *string
	Group           *string
	Icon            *string
	Id              *string
	MatchingEnd     *int
	MatchingStart   *int
	Option          *string
	Prefix          *string
	Suffix          *string
}

Suggestion: Represents query suggestion.

type SwimlaneEntityAttributeValue

type SwimlaneEntityAttributeValue struct {
	Id         *string
	IsResolved *bool
	Name       *string
}

SwimlaneEntityAttributeValue: Represents a single swimlane in case of AttributeBasedSwimlaneSettings.

type SwimlaneSettings

type SwimlaneSettings interface {
}

SwimlaneSettings: Base entity for different swimlane settings

type SwimlaneValue

type SwimlaneValue struct {
	Id   *string
	Name *string
}

SwimlaneValue: Represents single swimlane in case of IssueBasedSwimlaneSettings.

type SystemSettings

type SystemSettings struct {
	AdministratorEmail        *string
	AllowStatisticsCollection *bool
	BaseUrl                   *string
	Id                        *string
	IsApplicationReadOnly     *bool
	MaxExportItems            *int
	MaxUploadFileSize         *int
}

type Tag

type Tag struct {
	Id                    *string
	Name                  *string
	Owner                 *User
	ReadSharingSettings   *WatchFolderSharingSettings
	UpdateSharingSettings *WatchFolderSharingSettings
	UpdateableBy          *UserGroup
	VisibleFor            *UserGroup
	Color                 *FieldStyle
	Issues                []Issue
	TagSharingSettings    *TagSharingSettings
	UntagOnResolve        *bool
}

Tag: `WatchFolder` is a common abstract ancestor for saved searches and tags.

type TagSharingSettings

type TagSharingSettings struct {
	Id              *string
	PermittedGroups []UserGroup
	PermittedUsers  []User
}

TagSharingSettings: Stores users and groups that have access to a tag.

type TagsActivityItem

type TagsActivityItem struct {
	Added        []Tag
	Author       *User
	Category     *ActivityCategory
	Field        FilterField
	Id           *string
	Removed      []Tag
	Target       *Issue
	TargetMember *string
	Timestamp    *time.Time
}

TagsActivityItem: Represents a change in the list of tags of an issue.

type TeamcityChangesProcessor

type TeamcityChangesProcessor struct {
	AddComments              *bool
	Enabled                  *bool
	Id                       *string
	LookupIssuesInBranchName *bool
	Project                  *Project
	RelatedProjects          []Project
	Server                   *TeamcityServer
	VisibleForGroups         []UserGroup
}

TeamcityChangesProcessor: Represents a TeamCity integration configured for a project.

type TeamcityServer

type TeamcityServer struct {
	Id  *string
	Url *string
}

TeamcityServer: Represents a TeamCity server.

type Telemetry

type Telemetry struct {
	AllocatedMemory                    *string
	AvailableMemory                    *string
	AvailableProcessors                *int
	BlobStringsCacheHitRate            *string
	CachedResultsCountInDBQueriesCache *int
	DatabaseBackgroundThreads          *int
	DatabaseLocation                   *string
	DatabaseQueriesCacheHitRate        *string
	DatabaseSize                       *string
	FullDatabaseSize                   *string
	Id                                 *string
	InstallationFolder                 *string
	LogsLocation                       *string
	NotificationAnalyzerThreads        *int
	OnlineUsers                        *OnlineUsers
	PendingAsyncJobs                   *int
	ReportCalculatorThreads            *int
	RequestsPerSecond                  *string
	StartedTime                        *time.Time
	TextIndexSize                      *string
	TotalTransactions                  *int
	TransactionsPerSecond              *string
	Uptime                             *string
	UsedMemory                         *string
}

type TextCustomFieldActivityItem

type TextCustomFieldActivityItem struct {
	Added        *string
	Author       *User
	Category     *ActivityCategory
	Field        FilterField
	Id           *string
	Removed      *string
	Target       *Issue
	TargetMember *string
	Timestamp    *time.Time
	Markup       *string
}

TextCustomFieldActivityItem: Represents an activity that affects a custom field of the `text` type of an issue.

type TextFieldValue

type TextFieldValue struct {
	Id           *string
	MarkdownText *string
	Text         *string
}

TextFieldValue: Represents a value of the text field. Returns both source and rendered text.

type TextIssueCustomField

type TextIssueCustomField struct {
	Id                 *string
	Name               *string
	ProjectCustomField ProjectCustomField
	Value              *TextFieldValue
}

TextIssueCustomField: Represents the issue custom field of the `text` type.

type TextMarkupActivityItem

type TextMarkupActivityItem struct {
	Added        *string
	Author       *User
	Category     *ActivityCategory
	Field        FilterField
	Id           *string
	Removed      *string
	Target       *any
	TargetMember *string
	Timestamp    *time.Time
	Markup       *string
}

TextMarkupActivityItem: Represents a change in a `String`-type attribute with the support of markup: `description` in an Issue or IssueWorkItem, and the `text` of the IssueComment. This entity lets you get the rendered text after the change.

type TextProjectCustomField

type TextProjectCustomField struct {
	CanBeEmpty     *bool
	Condition      CustomFieldCondition
	EmptyFieldText *string
	Field          *CustomField
	HasRunningJob  *bool
	Id             *string
	IsPublic       *bool
	Ordinal        *int
	Project        *Project
}

TextProjectCustomField: Represents settings of the text-type field in the project.

type TimeTrackingUserProfile

type TimeTrackingUserProfile struct {
	Id           *string
	PeriodFormat *PeriodFieldFormat
}

type TimeZoneDescriptor

type TimeZoneDescriptor struct {
	Id           *string
	Offset       *int
	Presentation *string
}

TimeZoneDescriptor: Represents a time zone.

type UnlimitedVisibility

type UnlimitedVisibility struct {
	Id *string
}

UnlimitedVisibility: Represents unlimited visibility. When access to an entity is not restricted, the visibility attribute of this entity has the type `UnlimitedVisibility`. Entities of this type do not have any attributes.

type UpdateAgileRequest

type UpdateAgileRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// Agile is the JSON request body.
	Agile Agile
}

UpdateAgileRequest contains parameters for UpdateAgile.

type UpdateAppearanceSettingsRequest

type UpdateAppearanceSettingsRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
	// AppearanceSettings is the JSON request body.
	AppearanceSettings AppearanceSettings
}

UpdateAppearanceSettingsRequest contains parameters for UpdateAppearanceSettings.

type UpdateArticleAtArticlesByIDChildArticlesByArticleIDRequest

type UpdateArticleAtArticlesByIDChildArticlesByArticleIDRequest struct {
	// ArticleID identifies a resource in the request path.
	ArticleID string
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// MuteUpdateNotifications: Set this parameter to `true` if no notifications should be sent on
	// changes made by this request. This doesn't mute notifications sent by any workflow rules. Using
	// this parameter requires Apply Commands Silently permission in all projects affected by the
	// request. Available since 2021.3.
	MuteUpdateNotifications bool
	// Article is the JSON request body.
	//
	// Represents a base article entity.
	Article Article
}

UpdateArticleAtArticlesByIDChildArticlesByArticleIDRequest contains parameters for UpdateArticleAtArticlesByIDChildArticlesByArticleID.

type UpdateArticleAttachmentRequest

type UpdateArticleAttachmentRequest struct {
	// ArticleAttachmentID identifies a resource in the request path.
	ArticleAttachmentID string
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// ArticleAttachment is the JSON request body.
	ArticleAttachment ArticleAttachment
}

UpdateArticleAttachmentRequest contains parameters for UpdateArticleAttachment.

type UpdateArticleCommentRequest

type UpdateArticleCommentRequest struct {
	// ArticleCommentID identifies a resource in the request path.
	ArticleCommentID string
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// MuteUpdateNotifications: Set this parameter to `true` if no notifications should be sent on
	// changes made by this request. This doesn't mute notifications sent by any workflow rules. Using
	// this parameter requires Apply Commands Silently permission in all projects affected by the
	// request. Available since 2021.3.
	MuteUpdateNotifications bool
	// ArticleComment is the JSON request body.
	ArticleComment ArticleComment
}

UpdateArticleCommentRequest contains parameters for UpdateArticleComment.

type UpdateArticleRequest

type UpdateArticleRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// MuteUpdateNotifications: Set this parameter to `true` if no notifications should be sent on
	// changes made by this request. This doesn't mute notifications sent by any workflow rules. Using
	// this parameter requires Apply Commands Silently permission in all projects affected by the
	// request. Available since 2021.3.
	MuteUpdateNotifications bool
	// Article is the JSON request body.
	//
	// Represents a base article entity.
	Article Article
}

UpdateArticleRequest contains parameters for UpdateArticle.

type UpdateAssignedRoleRequest

type UpdateAssignedRoleRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// AssignedRole is the JSON request body.
	AssignedRole AssignedRole
}

UpdateAssignedRoleRequest contains parameters for UpdateAssignedRole.

type UpdateBuildBundleElementRequest

type UpdateBuildBundleElementRequest struct {
	// BuildBundleElementID identifies a resource in the request path.
	BuildBundleElementID string
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// BuildBundleElement is the JSON request body.
	//
	// Represents a field value in YouTrack.
	BuildBundleElement BuildBundleElement
}

UpdateBuildBundleElementRequest contains parameters for UpdateBuildBundleElement.

type UpdateBuildBundleRequest

type UpdateBuildBundleRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// BuildBundle is the JSON request body.
	//
	// Represents a set of field values in YouTrack.
	BuildBundle BuildBundle
}

UpdateBuildBundleRequest contains parameters for UpdateBuildBundle.

type UpdateCustomFieldDefaultsRequest

type UpdateCustomFieldDefaultsRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// CustomFieldDefaults is the JSON request body.
	CustomFieldDefaults CustomFieldDefaults
}

UpdateCustomFieldDefaultsRequest contains parameters for UpdateCustomFieldDefaults.

type UpdateCustomFieldRequest

type UpdateCustomFieldRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// CustomField is the JSON request body.
	CustomField CustomField
}

UpdateCustomFieldRequest contains parameters for UpdateCustomField.

type UpdateDatabaseBackupSettingsRequest

type UpdateDatabaseBackupSettingsRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
	// DatabaseBackupSettings is the JSON request body.
	DatabaseBackupSettings DatabaseBackupSettings
}

UpdateDatabaseBackupSettingsRequest contains parameters for UpdateDatabaseBackupSettings.

type UpdateEnumBundleElementRequest

type UpdateEnumBundleElementRequest struct {
	// EnumBundleElementID identifies a resource in the request path.
	EnumBundleElementID string
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// EnumBundleElement is the JSON request body.
	//
	// Represents field value that can be localized.
	EnumBundleElement EnumBundleElement
}

UpdateEnumBundleElementRequest contains parameters for UpdateEnumBundleElement.

type UpdateEnumBundleRequest

type UpdateEnumBundleRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// EnumBundle is the JSON request body.
	//
	// Represents a set of field values in YouTrack.
	EnumBundle EnumBundle
}

UpdateEnumBundleRequest contains parameters for UpdateEnumBundle.

type UpdateGeneralUserProfileRequest

type UpdateGeneralUserProfileRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// GeneralUserProfile is the JSON request body.
	GeneralUserProfile GeneralUserProfile
}

UpdateGeneralUserProfileRequest contains parameters for UpdateGeneralUserProfile.

type UpdateGlobalSettingsRequest

type UpdateGlobalSettingsRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
	// GlobalSettings is the JSON request body.
	GlobalSettings GlobalSettings
}

UpdateGlobalSettingsRequest contains parameters for UpdateGlobalSettings.

type UpdateIssueAtAdminProjectsByIDIssuesByIssueIDRequest

type UpdateIssueAtAdminProjectsByIDIssuesByIssueIDRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// IssueID identifies a resource in the request path.
	IssueID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// MuteUpdateNotifications: Set this parameter to `true` if no notifications should be sent on
	// changes made by this request. This doesn't mute notifications sent by any workflow rules. Using
	// this parameter requires Apply Commands Silently permission in all projects affected by the
	// request. Available since 2021.3.
	MuteUpdateNotifications bool
	// Issue is the JSON request body.
	Issue Issue
}

UpdateIssueAtAdminProjectsByIDIssuesByIssueIDRequest contains parameters for UpdateIssueAtAdminProjectsByIDIssuesByIssueID.

type UpdateIssueAttachmentRequest

type UpdateIssueAttachmentRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// IssueAttachmentID identifies a resource in the request path.
	IssueAttachmentID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// IssueAttachment is the JSON request body.
	IssueAttachment IssueAttachment
}

UpdateIssueAttachmentRequest contains parameters for UpdateIssueAttachment.

type UpdateIssueCommentRequest

type UpdateIssueCommentRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// IssueCommentID identifies a resource in the request path.
	IssueCommentID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// MuteUpdateNotifications: Set this parameter to `true` if no notifications should be sent on
	// changes made by this request. This doesn't mute notifications sent by any workflow rules. Using
	// this parameter requires Apply Commands Silently permission in all projects affected by the
	// request. Available since 2021.3.
	MuteUpdateNotifications bool
	// IssueComment is the JSON request body.
	IssueComment IssueComment
}

UpdateIssueCommentRequest contains parameters for UpdateIssueComment.

type UpdateIssueCustomFieldRequest

type UpdateIssueCustomFieldRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// IssueCustomFieldID identifies a resource in the request path.
	IssueCustomFieldID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// MuteUpdateNotifications: Set this parameter to `true` if no notifications should be sent on
	// changes made by this request. This doesn't mute notifications sent by any workflow rules. Using
	// this parameter requires Apply Commands Silently permission in all projects affected by the
	// request. Available since 2021.3.
	MuteUpdateNotifications bool
	// IssueCustomField is the JSON request body.
	IssueCustomField IssueCustomField
}

UpdateIssueCustomFieldRequest contains parameters for UpdateIssueCustomField.

type UpdateIssueLinkTypeRequest

type UpdateIssueLinkTypeRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// IssueLinkType is the JSON request body.
	IssueLinkType IssueLinkType
}

UpdateIssueLinkTypeRequest contains parameters for UpdateIssueLinkType.

type UpdateIssueRequest

type UpdateIssueRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// MuteUpdateNotifications: Set this parameter to `true` if no notifications should be sent on
	// changes made by this request. This doesn't mute notifications sent by any workflow rules. Using
	// this parameter requires Apply Commands Silently permission in all projects affected by the
	// request. Available since 2021.3.
	MuteUpdateNotifications bool
	// Issue is the JSON request body.
	Issue Issue
}

UpdateIssueRequest contains parameters for UpdateIssue.

type UpdateIssueWorkItemRequest

type UpdateIssueWorkItemRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// IssueWorkItemID identifies a resource in the request path.
	IssueWorkItemID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// MuteUpdateNotifications: Set this parameter to `true` if no notifications should be sent on
	// changes made by this request. This doesn't mute notifications sent by any workflow rules. Using
	// this parameter requires Apply Commands Silently permission in all projects affected by the
	// request. Available since 2021.3.
	MuteUpdateNotifications bool
	// IssueWorkItem is the JSON request body.
	//
	// Represents a basic ancestor for work items.
	IssueWorkItem IssueWorkItem
}

UpdateIssueWorkItemRequest contains parameters for UpdateIssueWorkItem.

type UpdateLicenseRequest

type UpdateLicenseRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
	// License is the JSON request body.
	License License
}

UpdateLicenseRequest contains parameters for UpdateLicense.

type UpdateLocaleSettingsRequest

type UpdateLocaleSettingsRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
	// LocaleSettings is the JSON request body.
	LocaleSettings LocaleSettings
}

UpdateLocaleSettingsRequest contains parameters for UpdateLocaleSettings.

type UpdateNotificationSettingsRequest

type UpdateNotificationSettingsRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
	// NotificationSettings is the JSON request body.
	NotificationSettings NotificationSettings
}

UpdateNotificationSettingsRequest contains parameters for UpdateNotificationSettings.

type UpdateNotificationsUserProfileRequest

type UpdateNotificationsUserProfileRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// NotificationsUserProfile is the JSON request body.
	NotificationsUserProfile NotificationsUserProfile
}

UpdateNotificationsUserProfileRequest contains parameters for UpdateNotificationsUserProfile.

type UpdateOrganizationRequest

type UpdateOrganizationRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// Organization is the JSON request body.
	Organization Organization
}

UpdateOrganizationRequest contains parameters for UpdateOrganization.

type UpdateOwnedBundleElementRequest

type UpdateOwnedBundleElementRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// OwnedBundleElementID identifies a resource in the request path.
	OwnedBundleElementID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// OwnedBundleElement is the JSON request body.
	//
	// Represents a field value in YouTrack.
	OwnedBundleElement OwnedBundleElement
}

UpdateOwnedBundleElementRequest contains parameters for UpdateOwnedBundleElement.

type UpdateOwnedBundleRequest

type UpdateOwnedBundleRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// OwnedBundle is the JSON request body.
	//
	// Represents a set of field values in YouTrack.
	OwnedBundle OwnedBundle
}

UpdateOwnedBundleRequest contains parameters for UpdateOwnedBundle.

type UpdateProjectAtIssuesByIDProjectRequest

type UpdateProjectAtIssuesByIDProjectRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// MuteUpdateNotifications: Set this parameter to `true` if no notifications should be sent on
	// changes made by this request. This doesn't mute notifications sent by any workflow rules. Using
	// this parameter requires Apply Commands Silently permission in all projects affected by the
	// request. Available since 2021.3.
	MuteUpdateNotifications bool
	// Project is the JSON request body.
	//
	// Represents an issue folder, such as a project, a saved search, or a tag.
	Project Project
}

UpdateProjectAtIssuesByIDProjectRequest contains parameters for UpdateProjectAtIssuesByIDProject.

type UpdateProjectCustomFieldRequest

type UpdateProjectCustomFieldRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// ProjectCustomFieldID identifies a resource in the request path.
	ProjectCustomFieldID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// ProjectCustomField is the JSON request body.
	ProjectCustomField ProjectCustomField
}

UpdateProjectCustomFieldRequest contains parameters for UpdateProjectCustomField.

type UpdateProjectRequest

type UpdateProjectRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// Project is the JSON request body.
	//
	// Represents an issue folder, such as a project, a saved search, or a tag.
	Project Project
}

UpdateProjectRequest contains parameters for UpdateProject.

type UpdateProjectTeamRequest

type UpdateProjectTeamRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// ProjectTeam is the JSON request body.
	//
	// User group representing all members of the project team.
	ProjectTeam ProjectTeam
}

UpdateProjectTeamRequest contains parameters for UpdateProjectTeam.

type UpdateProjectTimeTrackingSettingsRequest

type UpdateProjectTimeTrackingSettingsRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// ProjectTimeTrackingSettings is the JSON request body.
	ProjectTimeTrackingSettings ProjectTimeTrackingSettings
}

UpdateProjectTimeTrackingSettingsRequest contains parameters for UpdateProjectTimeTrackingSettings.

type UpdateRestCorsSettingsRequest

type UpdateRestCorsSettingsRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
	// RestCorsSettings is the JSON request body.
	RestCorsSettings RestCorsSettings
}

UpdateRestCorsSettingsRequest contains parameters for UpdateRestCorsSettings.

type UpdateRoleRequest

type UpdateRoleRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// Role is the JSON request body.
	Role Role
}

UpdateRoleRequest contains parameters for UpdateRole.

type UpdateSavedQueryRequest

type UpdateSavedQueryRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// SavedQuery is the JSON request body.
	//
	// `WatchFolder` is a common abstract ancestor for saved searches and tags.
	SavedQuery SavedQuery
}

UpdateSavedQueryRequest contains parameters for UpdateSavedQuery.

type UpdateSprintRequest

type UpdateSprintRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// SprintID identifies a resource in the request path.
	SprintID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// Sprint is the JSON request body.
	Sprint Sprint
}

UpdateSprintRequest contains parameters for UpdateSprint.

type UpdateStateBundleElementRequest

type UpdateStateBundleElementRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// StateBundleElementID identifies a resource in the request path.
	StateBundleElementID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// StateBundleElement is the JSON request body.
	//
	// Represents field value that can be localized.
	StateBundleElement StateBundleElement
}

UpdateStateBundleElementRequest contains parameters for UpdateStateBundleElement.

type UpdateStateBundleRequest

type UpdateStateBundleRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// StateBundle is the JSON request body.
	//
	// Represents a set of field values in YouTrack.
	StateBundle StateBundle
}

UpdateStateBundleRequest contains parameters for UpdateStateBundle.

type UpdateSystemSettingsRequest

type UpdateSystemSettingsRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
	// SystemSettings is the JSON request body.
	SystemSettings SystemSettings
}

UpdateSystemSettingsRequest contains parameters for UpdateSystemSettings.

type UpdateTagRequest

type UpdateTagRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// Tag is the JSON request body.
	//
	// `WatchFolder` is a common abstract ancestor for saved searches and tags.
	Tag Tag
}

UpdateTagRequest contains parameters for UpdateTag.

type UpdateTimeTrackingUserProfileRequest

type UpdateTimeTrackingUserProfileRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// TimeTrackingUserProfile is the JSON request body.
	TimeTrackingUserProfile TimeTrackingUserProfile
}

UpdateTimeTrackingUserProfileRequest contains parameters for UpdateTimeTrackingUserProfile.

type UpdateUserAtGroupsByIDOwnUsersByUserIDRequest

type UpdateUserAtGroupsByIDOwnUsersByUserIDRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// UserID identifies a resource in the request path.
	UserID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// User is the JSON request body.
	User User
}

UpdateUserAtGroupsByIDOwnUsersByUserIDRequest contains parameters for UpdateUserAtGroupsByIDOwnUsersByUserID.

type UpdateUserBundleRequest

type UpdateUserBundleRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// UserBundle is the JSON request body.
	UserBundle UserBundle
}

UpdateUserBundleRequest contains parameters for UpdateUserBundle.

type UpdateUserGroupRequest

type UpdateUserGroupRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// UserGroup is the JSON request body.
	UserGroup UserGroup
}

UpdateUserGroupRequest contains parameters for UpdateUserGroup.

type UpdateUserRequest

type UpdateUserRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// User is the JSON request body.
	User User
}

UpdateUserRequest contains parameters for UpdateUser.

type UpdateVcsChangeRequest

type UpdateVcsChangeRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// VCSChangeID identifies a resource in the request path.
	VCSChangeID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// MuteUpdateNotifications: Set this parameter to `true` if no notifications should be sent on
	// changes made by this request. This doesn't mute notifications sent by any workflow rules. Using
	// this parameter requires Apply Commands Silently permission in all projects affected by the
	// request. Available since 2021.3.
	MuteUpdateNotifications bool
	// VcsChange is the JSON request body.
	VcsChange VcsChange
}

UpdateVcsChangeRequest contains parameters for UpdateVcsChange.

type UpdateVersionBundleElementRequest

type UpdateVersionBundleElementRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// VersionBundleElementID identifies a resource in the request path.
	VersionBundleElementID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// VersionBundleElement is the JSON request body.
	//
	// Represents a field value in YouTrack.
	VersionBundleElement VersionBundleElement
}

UpdateVersionBundleElementRequest contains parameters for UpdateVersionBundleElement.

type UpdateVersionBundleRequest

type UpdateVersionBundleRequest struct {
	// ID identifies a resource in the request path.
	ID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// VersionBundle is the JSON request body.
	//
	// Represents a set of field values in YouTrack.
	VersionBundle VersionBundle
}

UpdateVersionBundleRequest contains parameters for UpdateVersionBundle.

type UpdateWorkItemTypeRequest

type UpdateWorkItemTypeRequest struct {
	// WorkItemTypeID identifies a resource in the request path.
	WorkItemTypeID string
	// Fields selects the fields returned by YouTrack.
	Fields string
	// WorkItemType is the JSON request body.
	WorkItemType WorkItemType
}

UpdateWorkItemTypeRequest contains parameters for UpdateWorkItemType.

type UpdateWorkTimeSettingsRequest

type UpdateWorkTimeSettingsRequest struct {
	// Fields selects the fields returned by YouTrack.
	Fields string
	// WorkTimeSettings is the JSON request body.
	WorkTimeSettings WorkTimeSettings
}

UpdateWorkTimeSettingsRequest contains parameters for UpdateWorkTimeSettings.

type Upload

type Upload struct {
	Filename string
	Reader   io.Reader
}

Upload describes a file sent to a multipart YouTrack endpoint.

type User

type User struct {
	AvatarUrl    *string
	Banned       *bool
	Email        *string
	FullName     *string
	Guest        *bool
	Id           *string
	IsAnonymized *bool
	Login        *string
	Online       *bool
	Profiles     *UserProfiles
	RingId       *string
	SavedQueries []SavedQuery
	Tags         []Tag
	UserType     *UserType
}

type UserBundle

type UserBundle struct {
	Id              *string
	IsUpdateable    *bool
	AggregatedUsers []User
	Groups          []UserGroup
	Individuals     []User
}

type UserCustomFieldDefaults

type UserCustomFieldDefaults struct {
	CanBeEmpty     *bool
	EmptyFieldText *string
	Id             *string
	IsPublic       *bool
	Parent         *CustomField
	Bundle         *UserBundle
	DefaultValues  []User
}

UserCustomFieldDefaults: Represents default settings for the user-type field.

type UserGroup

type UserGroup struct {
	AllUsersGroup *bool
	Icon          *string
	Id            *string
	Name          *string
	RingId        *string
	Users         []User
	UsersCount    *int
}

type UserProfiles

type UserProfiles struct {
	General       *GeneralUserProfile
	Id            *string
	Notifications *NotificationsUserProfile
	Timetracking  *TimeTrackingUserProfile
}

UserProfiles: Represents a group of settings of a user profile in YouTrack.

type UserProjectCustomField

type UserProjectCustomField struct {
	CanBeEmpty     *bool
	Condition      CustomFieldCondition
	EmptyFieldText *string
	Field          *CustomField
	HasRunningJob  *bool
	Id             *string
	IsPublic       *bool
	Ordinal        *int
	Project        *Project
	Bundle         *UserBundle
	DefaultValues  []User
}

UserProjectCustomField: Represents project settings for a user field.

type UserType

type UserType struct {
	Id *string
}

UserType: The type of the user.

type UsesMarkupActivityItem

type UsesMarkupActivityItem struct {
	Added        *bool
	Author       *User
	Category     *ActivityCategory
	Field        FilterField
	Id           *string
	Removed      *bool
	Target       *any
	TargetMember *string
	Timestamp    *time.Time
	Markup       *string
}

UsesMarkupActivityItem: Represents the change of the boolean flag that indicates whether YouTrack Wiki or Markdown is used in the target entity as a markup language. If `true`, then the markdown is used. Otherwise, YouTrack Wiki markup.

type VcsChange

type VcsChange struct {
	Author     *User
	Date       *time.Time
	Fetched    *time.Time
	Files      *int
	Id         *string
	Issue      *Issue
	Processors []ChangesProcessor
	State      *int
	Text       *string
	Urls       []string
	Version    *string
}

type VcsChangeActivityItem

type VcsChangeActivityItem struct {
	Added        []VcsChange
	Author       *User
	Category     *ActivityCategory
	Field        FilterField
	Id           *string
	Removed      []VcsChange
	Target       *any
	TargetMember *string
	Timestamp    *time.Time
}

VcsChangeActivityItem: Represents an update in the list of VCS changes of an issue.

type VcsHostingChangesProcessor

type VcsHostingChangesProcessor interface {
	ChangesProcessor
}

VcsHostingChangesProcessor: The basic entity that represents a VCS integration configured for a project.

type VcsHostingServer

type VcsHostingServer interface {
	VcsServer
}

VcsHostingServer: The basic entity that represents a VCS server.

type VcsServer

type VcsServer interface {
}

VcsServer: The basic entity that represents a VCS or a build server.

type VcsUnresolvedUser

type VcsUnresolvedUser struct {
	AvatarUrl    *string
	Banned       *bool
	Email        *string
	FullName     *string
	Guest        *bool
	Id           *string
	IsAnonymized *bool
	Login        *string
	Online       *bool
	Profiles     *UserProfiles
	RingId       *string
	SavedQueries []SavedQuery
	Tags         []Tag
	UserType     *UserType
	Name         *string
}

VcsUnresolvedUser: Represents a VCS change author who could not be associated with any YouTrack user account.

type VersionBundle

type VersionBundle struct {
	Id           *string
	IsUpdateable *bool
	Values       []VersionBundleElement
}

VersionBundle: Represents a set of field values in YouTrack.

type VersionBundleCustomFieldDefaults

type VersionBundleCustomFieldDefaults struct {
	CanBeEmpty     *bool
	EmptyFieldText *string
	Id             *string
	IsPublic       *bool
	Parent         *CustomField
	Bundle         *VersionBundle
	DefaultValues  []VersionBundleElement
}

VersionBundleCustomFieldDefaults: Default settings for the version-type field.

type VersionBundleElement

type VersionBundleElement struct {
	Archived      *bool
	Bundle        Bundle
	Color         *FieldStyle
	Description   *string
	HasRunningJob *bool
	Id            *string
	Name          *string
	Ordinal       *int
	ReleaseDate   *time.Time
	Released      *bool
	StartDate     *time.Time
}

VersionBundleElement: Represents a field value in YouTrack.

type VersionProjectCustomField

type VersionProjectCustomField struct {
	CanBeEmpty     *bool
	Condition      CustomFieldCondition
	EmptyFieldText *string
	Field          *CustomField
	HasRunningJob  *bool
	Id             *string
	IsPublic       *bool
	Ordinal        *int
	Project        *Project
	Bundle         *VersionBundle
	DefaultValues  []VersionBundleElement
}

VersionProjectCustomField: Represents project settings for a version field.

type Visibility

type Visibility interface {
}

Visibility: Represents visibility settings of an entity, for example, an issue or a comment.

type VisibilityActivityItem

type VisibilityActivityItem interface {
	MultiValueActivityItem
}

VisibilityActivityItem: Represents the changes of properties responsible for visibility restriction. Can be VisibilityGroupActivityItem (api-entity-VisibilityGroupActivityItem.topic) or VisibilityUserActivityItem (api-entity-VisibilityUserActivityItem.topic)

type VisibilityGroupActivityItem

type VisibilityGroupActivityItem struct {
	Added           []UserGroup
	Author          *User
	Category        *ActivityCategory
	Field           FilterField
	Id              *string
	Removed         []UserGroup
	Target          *any
	TargetMember    *string
	Timestamp       *time.Time
	TargetSubMember *string
}

VisibilityGroupActivityItem: Represents the event when a user adds or removes a group to/from the Visibility settings of the target entity.

type VisibilityUserActivityItem

type VisibilityUserActivityItem struct {
	Added           []User
	Author          *User
	Category        *ActivityCategory
	Field           FilterField
	Id              *string
	Removed         []User
	Target          *any
	TargetMember    *string
	Timestamp       *time.Time
	TargetSubMember *string
}

VisibilityUserActivityItem: Represents the event when a user adds or removes a user to/from the Visibility settings of the target entity.

type VotersActivityItem

type VotersActivityItem struct {
	Added        []User
	Author       *User
	Category     *ActivityCategory
	Field        FilterField
	Id           *string
	Removed      []User
	Target       *Issue
	TargetMember *string
	Timestamp    *time.Time
}

VotersActivityItem: Represents a change in the list of voters of an issue.

type WIPLimit

type WIPLimit struct {
	Column *AgileColumn
	Id     *string
	Max    *int
	Min    *int
}

WIPLimit: Represents WIP limits for particular column. If they are not satisfied, the column will be highlighted in UI.

type WatchFolder

type WatchFolder interface {
	IssueFolder
}

WatchFolder: `WatchFolder` is a common abstract ancestor for saved searches and tags.

type WatchFolderSharingSettings

type WatchFolderSharingSettings struct {
	Id              *string
	PermittedGroups []UserGroup
	PermittedUsers  []User
}

WatchFolderSharingSettings: Stores users and groups that have access to a tag or a saved search.

type WorkItemActivityItem

type WorkItemActivityItem struct {
	Added        []IssueWorkItem
	Author       *User
	Category     *ActivityCategory
	Field        FilterField
	Id           *string
	Removed      []IssueWorkItem
	Target       *IssueWorkItem
	TargetMember *string
	Timestamp    *time.Time
}

WorkItemActivityItem: Represents a change in a list of work items in an issue.

type WorkItemAttribute

type WorkItemAttribute struct {
	Id               *string
	Name             *string
	ProjectAttribute *WorkItemProjectAttribute
	Value            *WorkItemAttributeValue
	WorkItem         BaseWorkItem
}

WorkItemAttribute: Represents the attribute of a specific work item.

type WorkItemAttributePrototype

type WorkItemAttributePrototype struct {
	Id        *string
	Instances []WorkItemProjectAttribute
	Name      *string
	Values    []WorkItemAttributeValue
}

WorkItemAttributePrototype: Represents a work item attribute prototype that is common for all projects. The project-related settings for work item attributes are stored in the `WorkItemProjectAttribute` entities.

type WorkItemAttributeValue

type WorkItemAttributeValue struct {
	AutoAttach  *bool
	Description *string
	Id          *string
	Name        *string
	Prototype   *WorkItemAttributePrototype
}

WorkItemAttributeValue: Represents a value of a work item attribute.

type WorkItemAuthorActivityItem

type WorkItemAuthorActivityItem struct {
	Added        *User
	Author       *User
	Category     *ActivityCategory
	Field        FilterField
	Id           *string
	Removed      *User
	Target       *IssueWorkItem
	TargetMember *string
	Timestamp    *time.Time
}

WorkItemAuthorActivityItem: Represents a change in the `author` attribute of a work item.

type WorkItemDurationActivityItem

type WorkItemDurationActivityItem struct {
	Added        *DurationValue
	Author       *User
	Category     *ActivityCategory
	Field        FilterField
	Id           *string
	Removed      *DurationValue
	Target       *IssueWorkItem
	TargetMember *string
	Timestamp    *time.Time
}

WorkItemDurationActivityItem: Represents a change in the `duration` attribute of a work item.

type WorkItemProjectAttribute

type WorkItemProjectAttribute struct {
	Id                   *string
	Name                 *string
	Ordinal              *int
	Prototype            *WorkItemAttributePrototype
	TimeTrackingSettings *ProjectTimeTrackingSettings
	Values               []WorkItemAttributeValue
}

WorkItemProjectAttribute: Represents the project-related settings of a work item attribute.

type WorkItemType

type WorkItemType struct {
	AutoAttached *bool
	Id           *string
	Name         *string
}

type WorkItemTypeActivityItem

type WorkItemTypeActivityItem struct {
	Added        []WorkItemType
	Author       *User
	Category     *ActivityCategory
	Field        FilterField
	Id           *string
	Removed      []WorkItemType
	Target       *IssueWorkItem
	TargetMember *string
	Timestamp    *time.Time
}

WorkItemTypeActivityItem: Represents a change in the `type` attribute of the work item.

type WorkTimeSettings

type WorkTimeSettings struct {
	DaysAWeek      *int
	FirstDayOfWeek *int
	Id             *string
	MinutesADay    *int
	WorkDays       []int
}

Directories

Path Synopsis
internal
codegen/distill command
Command distill generates YouTrack API models and Client methods directly from YouTrack's OpenAPI document.
Command distill generates YouTrack API models and Client methods directly from YouTrack's OpenAPI document.

Jump to

Keyboard shortcuts

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