Problem - State visible only for particular group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2024 12:41 AM
Hi Team ,
We have a requirement on Problem table
Ptask - " complete " Ui Action should be only visible to certain group .
Problem - " Resolve" Button should be only visible to certain group .
Example group - ' Sbc_prb_grp'
Can anyone please help me with steps and Please provide screenshots .
Please provide configure steps and screenshots.
Thanks in Advance .....

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2024 06:36 PM
HI @nameisnani replace the below script to your UI action condition
gs.getUser().isMemberOf('group Name') && current.canWrite() && (current.state != ProblemState.STATES.RESOLVED) && (current.state == ProblemState.STATES.FIX_IN_PROGRESS) && new ProblemStateUtils().validateStateTransition(current, ProblemState.STATES.RESOLVED)
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2024 09:10 PM
Hi @Harish KM
I was trying to paste your code
But I was unable to paste , not allowing complete condition
upto this only it is pasting .
Please tell what should i do .
gs.getUser().isMemberOf('Problem Solving') && current.canWrite() && (current.state != ProblemState.STATES.RESOLVED) && (current.state ==ProblemState.STATES.FIX_IN_PROGRESS) && new ProblemStateUtils().validateStateTransition(current, ProblemState.STATES.R

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2024 10:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2024 11:04 PM
Hi @Harish KM
I have updated the condtion
And I have impersonated with the user who part of problm sloving group .
But still not able to see resolve button.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2024 11:30 PM
Hi @nameisnani the user needs to satisfy other conditions as well, which is existing
Harish