Skip to content

Please migrate to the /rest/api/3/search/jql API #32

@jfhlc

Description

@jfhlc

Description

With Atlassian's changes to the search by JQL API, it would be nice to have this updated to reflect that as searching by JQL is currently broken.

Steps To Reproduce

Invoke a simple search using Get-JiraIssue -Query <string>.

Expected behavior

A search result should come back.

Screenshots

Invoke-JiraMethod : The requested API has been removed. Please migrate to the /rest/api/3/search/jql API. A full migration guideline is available
at https://developer.atlassian.com/changelog/#CHANGE-2046
At ... Modules\JiraPS\2.14.7\JiraPS.psm1:1708 char:17
+                 Invoke-JiraMethod @parameter
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidResult: (:) [Invoke-JiraMethod], RuntimeException
    + FullyQualifiedErrorId : InvalidResponse.Status410,Invoke-JiraMethod

Your Environment

Win11. I run both PS Core 7.5 and Desktop 5.1.

Possible Solution

Update the search functionality to utilize the new search API as indicated in the Atlassian docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions