I have spent a day or so trying to figure out how to add Request Participants to a Service Desk request with Script runner in a post condition. No success.
Has anyone figured out how to update service desk custom fields? Specifically the request participants but in general how to get the type of these fields and then update them in a generic way?
Tim, this KB article covers how to do that:
However, it is old and needs updating. But it could be a good starting point for you.
In the link that Mark posted If it's an event handler you could use event.issue to get the issue and then you can convert it to a MutableIssue using issueManager.getIssueObject(String issueKey / Long issueId) , for a workflow function issue is available in the binding.
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.