Is there a way to "share" an issue via REST API call? I can't seem to find the documentation.
found this JAVA function that looks close but nothing for REST https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/plugins/share/event/AbstractShareEvent.html
I suggest you to use JIRA REST API 1.0
Exemple :
/rest/share/1.0/issue/{your issue number}
Method : POST
Request payload :
{"usernames":["XXXXXXX"],"emails":[ZZZZ],"message":"YYYYYY"}
with :
usernames : user's JIRA ID
emails : list of email to send message
message : your message
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.