JiraPS icon indicating copy to clipboard operation
JiraPS copied to clipboard

Feature UpdateComment

Open beaudryj opened this issue 7 years ago • 7 comments

api/2/comment

Update-JiraIssueComment

Parameter

  • -Issue int / PSJira.Issue mandatory
  • -commentID int / commentID mandatory
  • -comment string / comment (must this be mandatory?)
  • -VisibleRole enumeration

Remove-JiraIssueComment

Parameter

  • -Issue int / PSJira.Issue mandatory
  • -commentID int / commentID mandatory

Helpful links

  • Can really just clone this into the function and add a way to grab or pass in comment ID of Comment to modify and convert to PUT from Post https://github.com/AtlassianPS/JiraPS/blob/master/JiraPS/Public/Add-JiraIssueComment.ps1

beaudryj avatar Jun 27 '17 17:06 beaudryj

Would it make more sense to call this Set-JiraIssueComment rather than Update? This would be more consistent with Set-JiraIssue, Set-JiraUser, etc.

replicaJunction avatar Jun 27 '17 23:06 replicaJunction

I will take this one

Dejulia489 avatar Jul 14 '17 21:07 Dejulia489

Add Get-JiraComment please

Dejulia489 avatar Jul 14 '17 23:07 Dejulia489

@Dejulia489 Are you still working on this issue? I have a Set-JiraIssueComment implementation in my branch that's almost ready for a PR.

hmmwhatsthisdo avatar Jun 07 '18 01:06 hmmwhatsthisdo

@hmmwhatsthisdo sorry to bother you but did you finish the implementation for Set-JiraIssueComment ?

Zeebiro avatar Jul 09 '20 08:07 Zeebiro

@hmmwhatsthisdo sorry to bother you but did you finish the implementation for Set-JiraIssueComment ?

@Zeebiro I ended up leaving that job shortly afterwards so I had no JIRA instance to work on. The branch I created had the bare-minimum functionality that I needed at the time, but IIRC it wasn't fully PR-ready (I don't think I wrote tests for it).

If you'd like to leverage the implementation work I did, you're more then welcome to do so. (Some fiddling with remotes/branch rebases should let you reuse my commits against the current codebase)

hmmwhatsthisdo avatar Jul 15 '20 07:07 hmmwhatsthisdo

@hmmwhatsthisdo if you want access to a jira server to continue to develop something, PM me (or slack me)

lipkau avatar Aug 19 '20 19:08 lipkau