Forums

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

Jira add_comment

Pegah Lashgarlou
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 22, 2019

Is there a way to add a table or a code instead of text for the add_comment attribute? 

 

add_comment(issue, body, visibility=None, is_internal=False)[source]

Add a comment from the current authenticated user on the specified issue and return a Resource for it.

The issue identifier and comment body are required.

Parameters:
  • issue (str) – ID or key of the issue to add the comment to
  • body (str) – Text of the comment to add
  • visibility (Optional[Dict[str, str]]) – a dict containing two entries: “type” and “value”. “type” is ‘role’ (or ‘group’ if the JIRA server has configured comment visibility for groups) and ‘value’ is the name of the role (or group) to which viewing of this comment will be restricted.
  • is_internal (bool) – Defines whether a comment has to be marked as ‘Internal’ in Jira Service Desk (Default: False)

 

 

is there another attribute that does this besides add_comment?

thanks in advance!  

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events