You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
When raise a "Request a change" with "affected services" and status go to "AUTHORIZE", the Approvers field will be auto updated by "Automation for Jira". But I didn't find any automation rule for this behavior.
For a custom request type based on "Service request with approvals" issue type, this function doesn't work.
I tried to use automation rule with "Edit issue fields" and smart values like "{{issue.affectedServices.changeApprovers}}", but got an error "A selected user for this field no longer exists. Choose another user. (customfield_10003)". (customfield_10003 is Approvers).
Is there a way to adding add Approvers from "affected services" for a custom request type?
Hi @jacky_hung
This is a tricky one. To dynamically change who is entered into the Approvers field you'll likely need a scripted post function.
Option 1 - Custom Automation
When: Issue Created
If: ... this is where you'll need to know the different options and set up a selection list or Components to 'bin' (categorize) the request.
If: Component = xxx
... Then Edit field
--- --- Approvers ... This is where you enter the known userid of the approver(s) required to approve/deny the request.
If: Component = yyy
etc ...
Option 2 - Pre-population
There is also another way that will pre-populate the known approvers but this requires the Approvers field to be hidden and then you'd need a Request Type for each approval group/team.
Option 3 - User entered Approver(s)
Add the Approvers field to the Request Type and require the User select the correct name. This is the least reliable 'cuz folks can just use the name of their teammate, themselves or someone who isn't really the one who is truly authorized to approve/deny.
I hope these suggestions and options make sense to you.
Best of luck to you!
NOTE - my suggestions are for Jira Data Center or Server instance types.
Hello Tanya,
Thanks for your suggestions.
I would like "custom request" works like the default "Request a change" that get approver(s) from Service Registry.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan. &nb...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.