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!
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.