I have used "domain/rest/api/2/issue/issueKey/attachments" rest api to attach file to ticket. But it is not visible on portal.
When I create ticket with an attachment from portal it is visible.
I compared the response of both the tickets using "domain/rest/api/2/issue/issuekey" rest api. Both are similar.
I don't understand what's going wrong.
I think you've added the attachment to the issue, rather than the request.
Therequest is what the customer creates and sees in the portal, the issue is the underlying data behind it, available only to agents.
Yeah, I was adding attachment to the issue instead of the request. Thanks for help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi! Can you please tell me how to add an attachment to a user request and not to a issue? I didn't find such a method in the Jira documentation. I need the attachment added to the task via api to be displayed on the user portal in the "Activity" section. Attachments sent via the "[JiraURL]/[IssueID]/attachments" POST-method are not displayed in the user portal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You have to do the following:
1- Add the attachment
2 - Insert a placeholder in the description/body where to display the attachment: [^FILE_NAME]
PS: Change FILE_NAME with your attached file name.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.