Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Using powershell,getting all issues

Murat Tasova
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 1, 2021

Hi,

Completely new in the world of API's in combination with PowerShell I would like to a complete list of all open issues.

I found this

/rest/api/2/search?jql=project=ABC&maxResults=1000

but here all issues related to a project is been asked.

I tried something simple like

"https://company.atlassian.net//rest/api/latest/issue/search?query=%" but no success

 

 

 

 

1 answer

1 vote
Dirk Ronsmans
Community Champion
October 1, 2021

Hey @Murat Tasova ,

With Powershell I can already recommend using JiraPS. It'll make your life easier.

https://atlassianps.org/docs/JiraPS/

Other than that. The call you mention uses a JQL so you just need to format your JQL properly and pass it to the endpoint.

This might help: https://atlassianps.org/docs/JiraPS/commands/Get-JiraIssue/#byjql

Murat Tasova
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 1, 2021

Hi Dirk, 

 

Thanks for your very fast response :)

I saw that JiraPS but didn't pay much attention to it because the intention to use less as possible extra modules,.

Maybe Im wrong champ :))

Will first look at jql hard way and if I real get stocked try JiraPS.  

Thanks again Dirk.

Suggest an answer

Log in or Sign up to answer