Пример #1
0
        // GetProjectCustomFields
        public static ICollection <YouTrackSharp.Projects.CustomField> GetIssueCustomFields(BearerTokenConnection connection, string projectId)
        {
            var customFields = connection.ProjectCustomFieldsService().GetProjectCustomFields(projectId);

            return(customFields.Result);
        }
Пример #2
0
        // GetProjectCustomField
        public static YouTrackSharp.Projects.CustomField GetIssueCustomField(BearerTokenConnection connection, string projectId, string fieldId)
        {
            var customField = connection.ProjectCustomFieldsService().GetProjectCustomField(projectId, fieldId);

            return(customField.Result);
        }