Open ABricka opened 5 years ago
There is the difference but i see nowhere in which kind of "-visibility" i can put them for internal comment (not viewable by users in jira service desk customer portal. For example this issue, the user will see only the last one comment, and not the other ones but in visibility field there is no special mention or whatever
I believe any value for Visibility
which is not in here will not be shown correctly be the module.
the Visibility
needs some major refactoring in the module for allowing non-predefined values (or JSD for that matter)
I just came across the very same situation - wanted to add an INTERNAL comment (Jira Service Desk, On-Prem Data Center installation) and can't get it to work.
I would also be very interested in this feature.
I am also interested in this feature as well as uploading an internal attachment for 'developers or admins' to view
I'll pile on! I would LOVE this ability. :)
Any news on this?
+1
This isn't EXACTLY what we are looking for, but it does get the job done (just a little more verbose than using the module). I use this code against Jira Server, not certain if it will work against Jira Cloud. I thought it might help someone so, might as well post it :D
$JiraUsername = "jirauser"
$secJiraPassword = ConvertTo-SecureString $JiraPassword -AsPlainText -Force
$JiraCredentials = New-Object System.Management.Automation.PSCredential ($JiraUsername, $secJiraPassword)
$Body = @{
"body" = "||*Added to today's commitments; Next Steps:*||`n|$($nextsteps)|`n|#TechEstimateInMinutes:$($techestimate)|"
"public" = $false
}
$JsonBody = $Body | ConvertTo-Json
$JsonBody = [System.Text.Encoding]::UTF8.GetBytes($JsonBody)
$RestParams = @{
Method = "Post"
Uri = "https://jiraserver.mydomain.com/rest/servicedeskapi/request/$($key)/comment?nofifyUsers=false"
Body = $JsonBody
ContentType = "application/json"
Credential = $JiraCredentials
Authentication = "Basic"
}
Invoke-RestMethod @RestParams | Out-Null
Hello team, i got a question where i can't found any reply. We use could jira and we use a functionality called "Comment Internally" to avoid users seeing our comment on their requests. I can't se in any issue or wiki how to add an internal comment via jiraps, have you some feature to do this ?
Thanks a lot for your reply, Alex