Hi all,
I want to check from Java code whether an user exists in Jira or not, by username. I am using the functions described in this documentation, but unfortunately there isn't one for this kind of check:
https://docs.atlassian.com/jira-rest-java-client/2.0.0-m2/apidocs/index.html?com/atlassian/jira/rest/client/domain
Do you have any suggestion on how can I resolve this?
Thank you in advance!
I used https://docs.atlassian.com/software/jira/docs/api/REST/7.0.4/#api/2/user-getUser
Hi @Tataru Sebastian and welcome,
you can use https://docs.atlassian.com/software/jira/docs/api/9.4.0/com/atlassian/jira/user/util/UserUtil.html#userExists-java.lang.String- API
Hope this helps,
Fabio
It looks like you're new here. Sign in or register to get started.