-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
0
-
NOTE: This suggestion report is for Jira Server. Using Jira Cloud? See the corresponding suggestion report.
Problem Definition
The current REST API doesn't allow users to add an attachment while creating the issue.
Suggested Solution
Add a JSON field to enter a base64-encoded attachment when hitting the Create issue endpoint.
Workaround
- Create an issue and capture the issue key.
- Call the Add attachment endpoint.
Note(s)
The workaround doesn't help if the workflow has a validator to ensure there's an attachment at the time of issue creation.
- blocks
-
JRASERVER-70075 Cloning issues with attachments should attach the files at creation time
- Gathering Interest
- was cloned as
-
JRACLOUD-77434 As a user, I want to be able to create an issue with an attachment via the REST API
- Gathering Interest