Forums

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

Need help with Jira Service Management Assets - Custom Filter

idegia July 3, 2023

Hi, I wonder if anyone can help with the following:

 

  • Using Jira Service Management and Assets
  • I have objects for users with an attribute of "Approving Manager"
  • Created a custom field with the settings:

    Object Schema - Azure AD Importer

    Filter Scope (AQL) - objectType = Users
    Filter issue scope (AQL) -
    Allow search filtering - "Approving Manager"

 

Expected results: Ability to match the currently logged-in user with the objects User and display the "Approving Manager"

Current results: displays the list of "Approving Manager" but, once selected, shows the username.

Help would be greatly appreciated.

1 answer

1 accepted

0 votes
Answer accepted
Suzi Firth
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 Leaders.
July 15, 2023

@Hi @idegia 

You actually need to do the reverse of this for this to work.

You need an Object Type called "Approving Manager". Then have a user field attribute and assign all the users where that manager would be their approving manager.

Then, when you filter the custom field so it checks the current reporter of the ticket against which user field they show up in, and then shows the Approving Managers name in the field. Note that if the user is associated with two Approving Managers and you want to use an automation to automatically set this field, the automation will only ever choose the first result.

Custom field configuration:

Filter Scope (AQL) - objectType = "Approving Managers"
Filter issue scope (AQL) - User = currentReporter()

Allow search filtering by these attributes: Name

Object attributes to display on issue view: Name

 

Kind regards,

Suzi

idegia August 11, 2023

Many thanks Suzi - the above worked for me - Appreciate your help.

Like • Suzi Firth likes this
JZD
Contributor
February 10, 2025

@Suzi Firth Do you may have also an idea for me to help.

I have some similar issue but i need to add the users manager as approver in the issue the user opened. I found here some guides and be trying some hours but have no lock. My situation looks the following:

  • Object schema named: Employees
  • Object type in Employees Schema Tree named: Employees
    • Department (but not necessary in this case)
    • Role (but not necessary in this case)
  • Object attribute in user object for the Manager named: Manager Name
    • Manager Name is directly included in each users object so i have not an extra object in my employees schema tree

SCR-20250211-hoyz.png

SCR-20250211-hpum.png

 

have tried already from this guides:

Finding managers of users and setting them as approvers automatically - Web Site - Confluence

How to auto-populate approvers from Asset objects attributes using automation in Assets | Jira | Atlassian Documentation

 

My automation looks actually:

SCR-20250211-hqib.png

my workflow for the approver is in place but in this case i need to use for each request the users manager to add him as approver.

From my automation the first part til and with extracting the reporters email address is working fine. The Audit log shows each time an success but the manager (i think) is not found and not entered in the issue as approver.

 

Thank you in advance

Suzi Firth
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 Leaders.
February 12, 2025

@JZDGlad you found a solution. I like the idea of automatically pulling the manager from the asset to add them as an approver.

 

We have a form where the user picks the approver from a selected group of managers. This means if the manager is on leave the user can pick their delegate to approve instead.

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events