setCustomUserAvatar @ExperimentalApi void setCustomUserAvatar(ApplicationUser remoteUser, ApplicationUser user, Long avatarId) throws AvatarsDisabledException, NoPermissionException Sets a custom avatar for a given user. Parameters: remoteUser - a User object for the currently logged in user user - the user whose avatar we will configure avatarId - the id of the avatar to configure for the user Throws: AvatarsDisabledException - if avatars are disabled NoPermissionException - if the remote user does not have permission to update the given user's avatar Since: v6.0 See Also: #canSetCustomUserAvatar(com.atlassian.crowd.embedded.api.User, String)
@ExperimentalApi boolean canSetCustomUserAvatar(ApplicationUser remoteUser, ApplicationUser user) Returns a boolean indicating whether the calling user can edit the custom user avatar for the user with the given username. Parameters: remoteUser - a User object for the currently logged in user user - the user whose avatar we will configure Returns: a indicating whether the calling user can edit the custom user avatar for another user Since: v6.0
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Atlassian; using Atlassian.Jira; using System.Net; using System.IO;
namespace ConsoleApplication14 { public enum JiraResource { project }
public class JiraManager { private const string m_BaseUrl = "http://localhost.:8080/rest/api/latest/"; private string m_Username; private string m_Password;
http://maffelu.net/jira-basic-cjira-connection-using-rest/
< Bu mesaj bu kişi tarafından değiştirildi adilazimdegilx -- 3 Kasım 2015; 20:36:11 >