Forums

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

(Jira Service Desk Cloud) Adding people to 'share with' on ticket creation

Mateusz Remer August 19, 2020

Hi guys!

Any idea, is it possible to automatically add specified users to 'share with' in newly created tickets in Jira Service Desk (Cloud)?

I've got Scriptrunner, if that helps.

Thanks in advance!

1 answer

1 accepted

0 votes
Answer accepted
Kristian Walker _Adaptavist_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 19, 2020

Hi Mateusz,

I can confirm that you can share a ticket once it is created by writing a Script Listener which is configured to fire on the Issue Created event for the Service Desk project.

The script for the listener would need to add the users to the Request Participants field which it can do by making a call to the Edit Issue API documented here and setting the body to set the Request Participants field.

I can confirm we have an example script located here which can be run on the Script Console and shows how to set the Request Participant field on an issue and you will be able to use this as a reference guide to help you to create the script that you require.

Finally, I can confirm that ScriptRunner for Jira Cloud is able to set any Service Desk Field for which Atlassian provide a Rest API for in the Jira Service Desk Rest API located here  and that you should review this API to see if it is possible to 

I hope this information helps.

Regards,

Kristian

Mateusz Remer August 20, 2020

that is perfect, thank you! :)

Suggest an answer

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

Atlassian Community Events