File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 69
69
# Find the proper object for the Issue
70
70
$issueObj = Resolve-JiraIssueObject - InputObject $_issue - Credential $Credential
71
71
72
- $labels = [System.Collections.ArrayList ]@ ($issueObj.labels )
72
+ $labels = [System.Collections.ArrayList ]@ ($issueObj.labels | Where-Object { $_ } )
73
73
74
74
# As of JIRA 6.4, the Add and Remove verbs in the REST API for
75
75
# updating issues do not support arrays of parameters - you
114
114
$parameter = @ {
115
115
URI = $issueObj.RestURL
116
116
Method = " PUT"
117
- Body = ConvertTo-Json - InputObject $requestBody - Depth 4
117
+ Body = ConvertTo-Json - InputObject $requestBody - Depth 6
118
118
Credential = $Credential
119
119
}
120
120
Write-Debug " [$ ( $MyInvocation.MyCommand.Name ) ] Invoking JiraMethod with `$ parameter"
You can’t perform that action at this time.
0 commit comments