Package com.atlassian.jira.rest.client.domain

Examples of com.atlassian.jira.rest.client.domain.User


        if (StringUtils.isBlank(userToRetrieve))
            userToRetrieve = jiraUser;

        Promise<User> promise = client.getUserClient().getUser(userToRetrieve);

        User user = promise.claim();
        resp.addHeader("Content-Type", "text/plain");
        resp.getWriter().write("The email address of " + userToRetrieve + " is " + user.getEmailAddress());
    }
View Full Code Here


      @Override
      public String parse(JSONObject json) throws JSONException {
        return json.getString("name");
      }
    });
    return new User(basicUser.getSelf(), basicUser.getName(), basicUser.getDisplayName(), emailAddress, groups, avatarUris, timezone);
  }
View Full Code Here

TOP

Related Classes of com.atlassian.jira.rest.client.domain.User

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.