Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to add the comment in JIRA issue using python script

Kiran Ghanate February 19, 2020
def updating_jira_ticket():
import jira
jira_info=jira.JIRA(options=constant.JIRA_OPTIONS,basic_auth=constant.JIRA_BASIC_AUTH)
comment = jira_info.comment("DATA-140", '258672')
comment.update(body='editing comment')
comment.delete()
jira_info.add_comment("DATA-140", 'new comment')

We are trying to add the comment in JIRA issue using the JIRA library of python(Python script is mentioned above), however we are able to connect the JIRA site and able to update the JIRA comment as well, but unable to add new comment in JIRA issue. The code is executed properly it does not produce any error. We have checked it from access point of view, all security related fields are fine. Issue is unable to add new comment in the JIRA issue.

2 answers

0 votes
Daniel Imberman
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 20, 2020

Hi I am seeing this exact same issue and am not seeing any erro.

0 votes
Kiran Ghanate February 20, 2020

Hi Team,

 

Any updates on this issue ?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events