Skip to content

Commit

Permalink
Merge pull request #304 from lipkau/fix/WrongCaseInPayloadOfFilter
Browse files Browse the repository at this point in the history
Fixed the payload for creating a new filter
lipkau authored Jul 23, 2018
2 parents 22f7310 + f19927a commit fdcc67e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions JiraPS/Public/New-JiraFilter.ps1
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit fdcc67e

Please sign in to comment.