Hello , I am new to JIRA, can someone help me with my problem
I want to create a simple post function on JIRA Service Desk that automatically sets the Approvers Field based on the requestor's manager.
(i.e. if Requestor 1 creates a ticket, then the post function will read the property of requestor 1 and then finds the Manager and automatically set it to Approvers Field)
Any comments/suggestions are really appreciated. If you can also provide a sample post-function code for this one, that would be great.
Thanks!
Hi @Matt Shigekawa,
Refer THIS post, in which I provided sample script along with group manager class
hope would help you
BR,
Leo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How we can achieve this in JIRA cloud where behaviours are not part of scriptrunner.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are looking for setFieldOptions() method of scriptrunner behavior
There are several articles showing how to do that in the community
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.