Forums

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

How to set an automatic insight field with Filter assign ?

C_Dupleix September 16, 2021

Hello everyone,

 

I'm trying to select a manager from Insight

  • Users :
    •  Mister A
    •  Mister B
  • Groups :
    • Group A : 
      • Attribute :
        • Manager : Mister A
    • Group B :
      • Attribute :
        • Manager : Mister B

My custom field : Manager

Filter scope : ObjectType = User

Filter Issue Scope : "Group A.Manager" = ${Username} Or "Group A.Manager" = ${Username}

Filter Assign Scope : "Manager" = ${Username}

 

I assume that my Filter Assign Scope is wrong. but I do not know where is the mistake.

When I let Assign Scope empty, selecting list is OK but I can't make the selection automatic if i hide the field.

 

Thanks for your help

 

1 answer

0 votes
David Sumlin
Contributor
September 19, 2021

Can you confirm what you're trying to do?

Are you trying to assign the issue to a manager based on which Group is selected from an Insight field, or are you trying to select a group based on who the currentuser is?

C_Dupleix September 23, 2021

Hi David,

Thanks for interesting in my problem.


My point is :

I have groups where one or more managers (cardinality is open) are attributes.

My goal :

When I select one group from an Insight Field(groups field) I want to auto assign to an another Insight field (Managers field) my "Responsable"attribute Value.

David Sumlin
Contributor
September 25, 2021

If a group can have one or more managers, then how would you know which one to auto-assign the issue to?

C_Dupleix September 27, 2021

goal is to assign to all of them when they are multiple manager

David Sumlin
Contributor
September 27, 2021

Since an issue can only have a single assignee, that seems like it would be a problem. :-(

Suggest an answer

Log in or Sign up to answer