I am trying to create new issue using JIRA Portal with REST API with attachment. However, when I try to create issue with following command:
issue_dict = {
'project': {'key': 'TF'},
'summary': 'T***************ı',
'description': '',
'issuetype': {'name': 'O*****a'},
'customfield_10024':[{'name': x }],
'attachment':'C:\\Users\\***************************\\T***********ri.pdf'
I get following error:
response text = {"errorMessages":[],"errors":{"attachment":"Field does not support update 'attachment'"}}On the other hand, when I create without attachment part on dict above, attachment cannot be seen in customer portal but I see in issue screen.
Is it possible to add attachment via REST API that is visible in portal?