How to use Invoke-WebRequest to run Jira REST API calls

Henrique Bittencourt June 9, 2023

Has anyone had to deal with REST API calls (Jira Server) but using Invoke-WebRequest (Windows Server 2012) before?

I found some examples here on Atlassian Community, but since I never used Invoke-WebRequest command, I'm struggling to make it work.

Usually I choose cURL or Postman to run those rest calls, but since I've admin access only to the Application Server and it's a Windows Server 2012, I only have the Powershell (out-of-the-box) to run the commands.

The scenario:

Problem: I need to run some REST API calls to delete filters (there are a lot of filters that I need to delete before moving to Cloud, but I can't do it by hand).

Appplication: Jira Core/Software Server
Application Server: Windows Server 2012 (admin access - not accessible by any other host, just local).

0 answers

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events