Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Api for share Issue ????

Madhusudanan Backiaraj June 2, 2020

Could'nt able to find the rest api call for sharing the issue with the project members . Can you please give away the comments on the same .

1 answer

0 votes
Angélica Luz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 4, 2020

Hello @Madhusudanan Backiaraj,

Thank you for reaching out to Atlassian Community!

For an internal user to be able to access the ticket and also to receive a notification, the option that best fits in this scenario is to add them as watchers:

https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-rest-api-3-issue-issueIdOrKey-watchers-post

If it's a Service Desk project and it's necessary to share the ticket with other customers, the option is to add them as Request Participants:

https://developer.atlassian.com/cloud/jira/service-desk/rest/#api-rest-servicedeskapi-request-issueIdOrKey-participant-post

I didn't find any specific API to share a ticket, both that I found will add the user or customer to a ticket and they will receive notifications.

Regards,
Angélica

Sebastien
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 12, 2021

Hello ,

 

You can find a Jira SHARE Issue Rest API  1.0:

Request : /rest/share/1.0/issue/{your issue ID}

Request payload : {"usernames":[],"emails":[],"message":""}

Method : POST

 

With :

usernames : a list of users

email : list of mails

message : the message to send

 

Good luck...

noName
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 1, 2022

Hi  Sebastien, it not work 

My jra version:  Atlassian Jira Project Management Software v8.7.1

 

I'm looking for an API to replace the below processing

- Edit issue

- Typing feild:  Shared with

Start typing to get a list of possible matches.

Contains users needed for approval. This custom field was created by Jira Service Desk.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events