Forums

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

Adding pdf attachments to a jire issue created in python

I have already created a forloop for create jira issues in bulk. However, I need to be able to attach relevant pdf files to those issues.

Here is an example of my current code for just 1 jira issue created with python.

jira_connection = JIRA(
basic_auth=('myemail@xxx.is', API),
server = "https://xxx.atlassian.net",

)

issue_dict = {
'project': {'key': 'AAA'},
'summary': 'Testing', #The name of the jira issue
'description': 'Testing',
'issuetype': {'name': 'Request'}
}

 

How do I add the pdf file as an attachment to this current jira issue?

1 answer

1 accepted

0 votes
Answer accepted
Fabio Racobaldo _Herzum_
Community Champion
June 11, 2023

Thanks for the help :D 

Fabio Racobaldo _Herzum_
Community Champion
June 13, 2023

you're welcome @Jóhanna Margrét Sigurðardóttir . Please mark my answer as accepted if it solved your question

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events