Resolve button to be visible only Assignment group Member

Tejaswini Dhor1
Kilo Contributor

Hello Everyone,

How do I go about making the resolve UI Action buttons only visible to those who are in the assignment group member?

I am using this condition gs.getUser().isMemeberOf(current.assignment_group). can i need to check client check box.

 

 

Thanks,

Tejaswini Dhoran

1 ACCEPTED SOLUTION

Anil Lande
Kilo Patron

Hi,

I see a typo mistake here:

gs.getUser().isMemeberOf(current.assignment_group)

it should be:

gs.getUser().isMemberOf(current.assignment_group)

 

Thanks,
Anil Lande

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

View solution in original post

7 REPLIES 7

Aman Kumar S
Kilo Patron

Hey,

You can use it in the condition field as below, and you don't need to click the client checkbox:

gs.getUser().isMemeberOf(current.assignment_group.name) && (current.getValue("assignment_group") != '') ;

Best Regards
Aman Kumar

Hi ,

i used to above condition but resolve ui action not visible.

can i need to scripts.only need condition.

dmathur09
Kilo Sage
Kilo Sage

Hi Tejaswini,

To control the visibility of UI action, the condition of UI action needs to be updated with the mentioned code.

Client checkbox helps to do some client side changes based on clicking of UI action. It does not affect of the visibility of UI action.

Regards,

Deepankar Mathur 

Community Alums
Not applicable

Hi @Tejaswini Dhoran ,

This method is absolutely works like a charm  gs.getUser().isMemeberOf(current.assignment_group) - in your UI action condition.

If you want to use or make some changes in the client side then check the "client" else not required.

Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep