Check source of Group - local or other catalog

Dmitry
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.
April 19, 2023

Hi

ApplicationUser has prop "directoryID" and we can check what is it directory - local or any other catalog

But Group hasn't this prop

How we can get catalog of group Jira? Without select by table database - over any class es or factories

Jira Software 8.20

1 answer

1 accepted

1 vote
Answer accepted
Dmitry
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.
April 19, 2023

Thats ok 

OfBizDelegator delegator = ComponentAccessor.getOfBizDelegator();
return delegator.findByAnd("Group", ImmutableMap.of("lowerGroupName", "jira-administrators"))

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events