From ba222616e7e0db97c3d3a5b1b7d343d31ba52981 Mon Sep 17 00:00:00 2001 From: Oliver Lipkau Date: Mon, 23 Jul 2018 22:27:33 +0200 Subject: [PATCH] Fixed the payload for creating a new filter --- JiraPS/Public/New-JiraFilter.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/JiraPS/Public/New-JiraFilter.ps1 b/JiraPS/Public/New-JiraFilter.ps1 index 5a66a671..6e7d3361 100644 --- a/JiraPS/Public/New-JiraFilter.ps1 +++ b/JiraPS/Public/New-JiraFilter.ps1 @@ -40,8 +40,8 @@ function New-JiraFilter { Write-DebugMessage "[$($MyInvocation.MyCommand.Name)] PSBoundParameters: $($PSBoundParameters | Out-String)" $requestBody = @{ - Name = $Name - JQL = $JQL + name = $Name + jql = $JQL } if ($PSCmdlet.MyInvocation.BoundParameters.ContainsKey("Description")) { $requestBody["description"] = $Description