The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to remove issue 'Reporter' from JIRA Service Desk 'Request participants' using Script Runner?

Brett
Contributor
May 14, 2018

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?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
May 14, 2018
Brett
Contributor
May 14, 2018

Alexey, wow.  Thanks for the lighting fast reply.  I will check it out.

TAGS
AUG Leaders

Atlassian Community Events