Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,257,440
Community Members
 
Community Events
164
Community Groups

Api for share Issue ????

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

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

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 Mar 01, 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
Site Admin
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

1,498 views 11 22
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you