I have no idea how to write scripts.
I'm looking for a post function that can remove the issue 'Reporter' from the JIRA Service Desk 'Request participants' field.
Reason being, our company uses post functions to add certain people to 'Request participants' to ensure the proper e-mail notifications get generated for those involved with a request. Without going into too much explanation, sometimes it happens that the 'Reporter' invariably gets added to the 'Request participants' field via workflow because someone includes the 'Reporter's name in a group custom field.
When the 'Reporter' is in the 'Request participants' field, the 'Share' button from the customer portal no longer works. JIRA throws an error that basically says you can't have the 'Reporter' in the 'Request participants' field.
So I'm looking for either a post function (i.e. something I can run in Script Runner) that will check the 'Reporter' and the 'Request participants' field and remove the 'Reporter' from the 'Request participants' if the 'Reporter' happens to be in the 'Request participants' field.
Does anyone know what that scripted post function might look like, or if there is a simpler method I can implement to perform this check/action?
You can find an example of such a script in this thread:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.