deleteComment
Description
Deletes a comment with the specified id, deletes the latest comment or deletes all comments from a given issue.
Parameters
Return Type
Number
The number of comments deleted.
Examples
Example 1
return deleteComment("TEST-1", "DELETE_ALL");Deletes all comments from "TEST-1" and returns the number of comments deleted.
Example 2
return deleteComment("TEST-2", "DELETE_LATEST");Deletes the latest comment from "TEST-2" and returns "1" because only one comment was deleted. If the comment cannot be deleted it will return "0".
See also
Need support? Create a request with our support team.
Copyright © 2005 - 2025 Appfire | All rights reserved.
