toertchn

Results 13 comments of toertchn

We also had a lot of custom fields. What type is your CustomField? For `customfieldtypes:select` and `customfieldtypes:cascadingselect` I use the following code: ``` [DebuggerDisplay("{Value}")] class SelectCFType { [JsonProperty("value")] public string...

Thank you - I try to test it on my next free day (maybe 6.1.2021) To get all fields with type and schema you can call: https://www.jiraserver.com/rest/api/2/field There you can...

The extensions AddCustomField & GetCustomField works as expected. There exists an api for custom fields (api/2/customFields) but I'm just a little admin without the rights to access them. So I...

Can you change the `GetCustomField(this Issue issue, string customFieldName)` to return null if the requested field ist null? The question mark should do the fix: `return issue.Fields.CustomFields[customFieldName]?.ToString();`

**Dapplo.Jira.Tests.ProjectTests.TestGetIssueCreatorsAsync** `await Client.Server.GetAvatarAsync(firstCreator.Avatars);` Failed: System.NotSupportedException : Unsupported result type Bitmap & image/png combination. The request to the avatar url seems to work: https://jiraserver/secure/useravatar?ownerId=admin&avatarId=11307 Result is an PNG file.

**Dapplo.Jira.Tests.UserTests.TestSearchUsersAsync** Failed: Dapplo.Jira.JiraException : BadRequest(400) Request: https://jiraserver/rest/api/2/user/search?query=krom&includeActive=True&includeInactive=False&startAt=0&maxResults=20 Result: {"errorMessages":["Der Abfrageparameter \"username\" wurde nicht angegeben"],"errors":{}} **Dapplo.Jira.Tests.UserTests.TestSearchUsersByQueryAsync** https://jiraserver/rest/api/2/user/search/query?query=is assignee of BUG&startAt=0&maxResults=20 Failed: Dapplo.Jira.JiraException : null for uri Request: https://jiraserver/rest/api/2/user/search/query?query=is%20assignee%20of%20BUG&startAt=0&maxResults=20 I'm not sure...

**Dapplo.Jira.Tests.WorkTests.TestWorklogs** Request: https://jiraserver/rest/api/2/issue/SDLA-813/worklog Result: {"startAt":0,"maxResults":0,"total":0,"worklogs":[]} Reason so far: We don't use worklogs, but add/update works fine ;-) Note from JIRA Doc: Work logs won't be returned if the Log work...

**Dapplo.Jira.Tests.FilterTests.TestCreateAsync** Request: https://jiraserver/rest/api/2/filter/my Result: 404 Without the "my" I get a 405 Seems that this api is deprecated and replaced by [Search for Filters](https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-filters/#api-rest-api-2-filter-search-get)

**Dapplo.Jira.Tests.IssueTests.Test_GetIssue** This Test case fails for me at the point: "Assert.True(issue.Fields.TimeTracking.TimeSpentSeconds > 0);" because TimeSpentSeconds = 0 (Time Tracking not enabled in the project) Don't know if the "JiraConfig.ExpandGetIssue" array...

**Dapplo.Jira.Tests.IssueTests.Test_CreateIssue** Fails: System.InvalidOperationException : Sequence contains no matching element Reason: We don't have an IssueType named Bug. Later it will fail for me because I don't have the rights to...