We're updating the issue view to help you get more done. 

Unable to upload attachments with REST API if issue key contains numbers

Description

Using command:
curl D -k -u [username]:[password] -X POST -H "X-Atlassian-Token: nocheck" -F "file=@[filepath]" https://ServerURL/rest/api/2/issue/[issueid]/attachments

will hit NPE if issue key contains numbers

Environment

None

Status

Assignee

Victor Tay

Reporter

Chia Xin Fang

Fix versions

Affects versions

2.7.3
2.9.0

Priority

Major