Forums

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

uploading a table as describtion

Hagar Mohamed February 21, 2023

I need to upload html table in the description of jira ticket as a table form 
I tried this but it uploads the table as a form of html not as a table

new_description=table_html

    sub_key=ticket
    jiraOptions = {'server': server_url}
    jira = JIRA(options=jiraOptions, basic_auth=(user,password))
    issue=jira.issue(sub_key)
    existing_description=issue.fields.description
    next_line='\n\n'
    updated_description= existing_description+next_line+new_description 
    issue.update(description=updated_description )

0 answers

Suggest an answer

Log in or Sign up to answer