I am trying to edit a comment in jira using jira-python, but I couldnt find anything.
I know Add_comment will add a comment, but I also want to know how to edit a comment. thanks~!!
You can edit a comment by first getting the comment ID. If you hover over the link icon of a comment(see screenshot) the ID should be contained in the link URL.
With the commentID you can then update the comment
jira_options={'server': 'http://<jira_url>'}
jira=JIRA(options=jira_options,basic_auth=('username','password'))
comment = jira.comment('ALPHA-27', '10100')
comment.update(body = 'the text here will replace the text in the comment')
I'm sure there is a more streamlined method of obtaining the comment ID, but that should work for the sake of testing.
Hello, i need solution how to make internal comment external programatically.
I've found flag called jsdPublic, but it looks not working if I do update using PUT request.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
when I edit a customfield, it returns
response text = {"errorMessages":["Internal server error"],"errors":{}}
do you know how to fix this?@Shaun Seaver
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.