One of Issue can't return the resolution field by web API

  • Community Edition Version 9.9 (build 65466)

While using web api to search issues “/api/issues/search?issues={issuekey}”, the return result could not find the resolution field to capture.

Like:

{“total”:1,“p”:1,“ps”:100,“paging”:{“pageIndex”:1,“pageSize”:100,“total”:1},“effortTotal”:15,“issues”:[{“key”:“”,“rule”:“”,“severity”:“MAJOR”,“component”:“”,“project”:“”,“line”:18,“hash”:“”,“textRange”:{“startLine”:18,“endLine”:34,“startOffset”:4,“endOffset”:7},“flows”:,“status”:“OPEN”,“message”:“Remove this conditional structure or edit its code blocks so that they\u0027re not all the same.”,“effort”:“15min”,“debt”:“15min”,“author”:“”,“tags”:,“creationDate”:“2022-01-25T02:29:14+0000”,“updateDate”:“2023-02-17T04:14:12+0000”,“type”:“BUG”,“scope”:“MAIN”,“quickFixAvailable”:false,“messageFormattings”:}],“components”:[{“key”:“”,“enabled”:true,“qualifier”:“TRK”,“name”:“”,“longName”:“”},{“key”:“”,“enabled”:true,“qualifier”:“FIL”,“name”:“”,“longName”:“”,“path”:“”}],“facets”:}

What’s wrong with this issue?

Hey there.

Since the status is OPEN – it has no resolution (because it hasn’t been resolved).