how to Share issue via REST API?

k3it June 30, 2017

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

 

1 answer

0 votes
Sebastien February 12, 2021

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

Suggest an answer

Log in or Sign up to answer