| java.lang.Object | |
| ↳ | org.mule.module.jira.JiraConnector |
Known Direct Subclasses
|
Known Indirect Subclasses
|
JIRA is a proprietary issue tracking product, developed by Atlassian, commonly used for bug tracking, issue tracking, and project management.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | MULTIVALUED_FIELD_SEPARATOR | ||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| client | |||||||||||
| connectionAddress | |||||||||||
| connectionUser | |||||||||||
| customFieldsCacheExpiration | |||||||||||
| customFieldsNamesToIdsMapping | |||||||||||
| jiraRestUrl | |||||||||||
| restClient | |||||||||||
| token | |||||||||||
| useCustomFieldsExternalName | if external custom fields names (instead of internal ids) are used when modifying custom fields, the provided user must be a Jira administrator in order to be able to use this feature | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Adds the given actors to the project role.
| |||||||||||
An alternative mechanism for adding attachments to an issue.
| |||||||||||
Adds a new comment to the issue.
| |||||||||||
Adds the default actors to the project role denoted by this id.
| |||||||||||
Add an effort to an issue's worklog
| |||||||||||
Adds the permission to the given entity name (username or group name)
| |||||||||||
Adds a user to the given group name.
| |||||||||||
Adds a new version
| |||||||||||
Adds a worklog to the given issue.
| |||||||||||
Adds a worklog to the given issue but leaves the issue's remaining estimate field unchanged.
| |||||||||||
Adds a worklog to the given issue and sets the issue's remaining estimate field to the given value.
| |||||||||||
Archieves the given version/
| |||||||||||
Creates a connection to Jira by making a login call with the given credentials to the specified address.
| |||||||||||
Create a component
| |||||||||||
Creates a group with the given name optionally adding the given user to it.
| |||||||||||
Creates an issue.
| |||||||||||
Creates an issue.
| |||||||||||
Creates a sub-task.
| |||||||||||
Creates an issue using the the security level denoted by the given id.
| |||||||||||
Creates a new permission schema using the given name and description.
| |||||||||||
Creates a new project
| |||||||||||
Creates a new project role.
| |||||||||||
Creates a new project.
| |||||||||||
Creates a user in JIRA with the specified user details
| |||||||||||
Create a version
| |||||||||||
Deletes the group denoted by the given group name.
| |||||||||||
Deletes the issue with the given key
| |||||||||||
Removes the permission to the given entity name (username or group name)
| |||||||||||
Deletes the permission scheme denoted by the given name
| |||||||||||
Deletes the project represented by the given project key.
| |||||||||||
Deletes the given custom Avatar from the system.
| |||||||||||
Deletes the project role denoted by the given project role id.
| |||||||||||
Deletes a user in JIRA with the specified username.
| |||||||||||
Deletes the worklog with the given id and updates the remaining estimate field on the isssue by increasing it
by the time spent amount on the worklog being deleted.
| |||||||||||
Deletes the worklog with the given id but leaves the remaining estimate field on the isssue unchanged.
| |||||||||||
Deletes the worklog with the given id and sets the remaining estimate field on the isssue to the given value.
| |||||||||||
Performs a logout call to Jira.
| |||||||||||
Edits the comment denoted by the given id
| |||||||||||
Returns all the permissions.
| |||||||||||
Returns the associated notification schemes for the given project role.
| |||||||||||
Returns the associated permission schemas for the given project role.
| |||||||||||
Returns the attachments for the issue denoted by the given key.
| |||||||||||
Finds the available actions for the given issue key
| |||||||||||
Finds a comment.
| |||||||||||
Returns the comments for the issue denoted by the given key.
| |||||||||||
Returns an array of all the components for the specified project key.
| |||||||||||
Returns information about the current configuration of JIRA.
| |||||||||||
Returns the custom fields for the current user
| |||||||||||
Returns the default role actors for the given project role id.
| |||||||||||
This retreives a list of the currently logged in user's favourite fitlers.
| |||||||||||
Returns the fields for the given action.
| |||||||||||
Returns the fields for edit for the given issue key
| |||||||||||
Find the group with the specified name in JIRA.
| |||||||||||
Get an issue given its key
| |||||||||||
Returns the issue for the given issue id.
| |||||||||||
Returns the issue count for the filter denoted by this id.
| |||||||||||
Returns an array of all the issue types for all projects in JIRA.
| |||||||||||
Returns an array of all the (non-sub task) issue types for the specified project id.
| |||||||||||
Returns issues that match the saved filter specified by the filterId.
| |||||||||||
Execute a specified JQL query and return the resulting issues.
| |||||||||||
Returns issues containing searchTerms.
| |||||||||||
Returns issues containing searchTerms that are within the specified projects.
| |||||||||||
Returns notification schemes.
| |||||||||||
Returns the permission schemes.
| |||||||||||
Returns an array of all the issue statuses in JIRA.
| |||||||||||
Get a project given its key
| |||||||||||
Retrieves the current avatar for the given project.
| |||||||||||
Retrieves avatars for the given project.
| |||||||||||
Returns the Project with the matching id (if the user has permission to browse it).
| |||||||||||
Returns the Project with the matching key (if the user has permission to browse it).
| |||||||||||
Returns the project role by projectRoleId.
| |||||||||||
Returns the project role actors for the given project
| |||||||||||
Returns the project roles.
| |||||||||||
Returns the Project with the matching id (if the user has permission to browse it) with notification, issue security and permission schemes attached.
| |||||||||||
Returns an array of all the Projects defined in JIRA.
| |||||||||||
Finds an issue by key.
| |||||||||||
Returns information about a user defined to JIRA.
| |||||||||||
Given an issue id, this method returns the resolution date for this issue.
| |||||||||||
Given an issue key, this method returns the resolution date for this issue.
| |||||||||||
Returns an array of all the issue resolutions in JIRA.
| |||||||||||
Returns the current security level for given issue
| |||||||||||
Returns an array of all security levels for a given project.
| |||||||||||
Returns the security schemes.
| |||||||||||
Returns information about the server JIRA is running on including build number and base URL.
| |||||||||||
Returns an array of all the issue statuses in JIRA.
| |||||||||||
Returns an array of all the sub task issue types in JIRA.
| |||||||||||
Returns an array of all the sub task issue types for the specified project id.
| |||||||||||
Get a user given its username
| |||||||||||
Returns an array of all the versions for the specified project key.
| |||||||||||
Returns all worklogs for the given issue.
| |||||||||||
Determines if the user has the permission to add worklogs to the specified issue, that timetracking is enabled
in JIRA and that the specified issue is in an editable workflow state.
| |||||||||||
Determine whether the current user has the permission to delete the supplied worklog, that timetracking is enabled in JIRA and that the associated issue is in an editable workflow state.
| |||||||||||
Returns whether the current user has permissions to edit the comment denoted by the given id.
| |||||||||||
Determine whether the current user has the permission to update the supplied worklog, that timetracking is enabled in JIRA and that the associated issue is in an editable workflow state.
| |||||||||||
Checks if the given project role name is unique.
| |||||||||||
Log in using the given credentials, it returns the authentication token.
| |||||||||||
Cleans up an authentication token that was previously created with a call to login
| |||||||||||
This will progress an issue through a workflow.
| |||||||||||
Refreshs custom fields for the current user.
| |||||||||||
Releases the version denoted by the given name
| |||||||||||
Removes the given actors from the project role
| |||||||||||
Removes all role actors using the given name and type.
| |||||||||||
Removes all role actors for the given project key.
| |||||||||||
Removes the default actors from the project role denoted by this id.
| |||||||||||
Removes a user from the group name.
| |||||||||||
Creates a new custom avatar for the given project and sets it to be current for the project.
| |||||||||||
Sets the current avatar for the given project to that with the given id.
| |||||||||||
Returns a connection identifier.
| |||||||||||
Update a component
| |||||||||||
Updates the given group name with the provided users.
| |||||||||||
This will update an issue with new values.
| |||||||||||
This will update the set of issues that result from the jql search
NOTE : You cannot update the 'status' field of the issues via this method.
| |||||||||||
Updates the project denoted by the given key.
| |||||||||||
Updates the project role with the given id.
| |||||||||||
Update a version
| |||||||||||
Modifies the worklog with the id of the given worklog, updating its fields to match the given worklog and sets
the remaining estimate field on the relevant issue to the given value.
| |||||||||||
Upload an attachment to the issue
| |||||||||||
Returns whether the current user is authenticated.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
if external custom fields names (instead of internal ids) are used when modifying custom fields, the provided user must be a Jira administrator in order to be able to use this feature
Adds the given actors to the project role.
| actors | The actors to add |
|---|---|
| projectRoleId | The id of the project role to use |
| projectKey | The key of project to use |
| actorType | The actor type to use |
An alternative mechanism for adding attachments to an issue. This method accepts the data of the attachments as Base64 encoded strings instead of byte arrays. This is to combat the XML message bloat created by Axis when SOAP-ifying byte arrays. For more information, please see JRA-11693.
| issueKey | The issue to attach to |
|---|---|
| fileNames | An array of filenames; each element names an attachment to be uploaded |
| base64EncodedAttachmentData | An array of Base 64 encoded Strings; each element contains the data of the attachment to be uploaded |
Adds a new comment to the issue.
| issueKey | The key of the issue |
|---|---|
| commentAuthor | The author of the comment |
| commentBody | The body of the comment |
| commentGroupLevel | The group level of the comment |
| commentRoleLevel | The role level of the comment |
Adds the default actors to the project role denoted by this id.
| actors | The actors to add |
|---|---|
| projectRoleId | The id of the project role |
| type | The type |
Add an effort to an issue's worklog
| issue | In which to add the effort |
|---|---|
| authorUri | Uri of the author of the effort |
| date | In which the effort should be created |
| minutes | Spent |
| comment | To add to the effort |
| URISyntaxException | when the URI is not well formed |
|---|
Adds the permission to the given entity name (username or group name)
| permissionSchemeName | The name of the permission scheme to use |
|---|---|
| permissionCode | The permission code to use |
| entityName | The entity name, username or group name |
Adds a user to the given group name.
| groupName | The group name |
|---|---|
| userName | The user name |
Adds a new version
| projectKey | The project key to use |
|---|---|
| versionName | The version name to use |
| archived | Whether is archived |
| released | Whether is released |
| releaseDate | The release date to use in the format MM-dd-yyy'T'HH:mm:ss |
Adds a worklog to the given issue.
| issueKey | The key of the issue. |
|---|---|
| timeSpent | Specifies a time duration in JIRA duration format, representing the time spent working on the worklog, eg 1d 2h. |
| startDate | The start date of the worklog using the format MM-dd-yyy'T'HH:mm:ss |
| comment | Add a comment to the worklog. |
| groupLevel | The new group level. |
| roleLevelId | The new role level id. |
Adds a worklog to the given issue but leaves the issue's remaining estimate field unchanged.
| issueKey | The key of the issue. |
|---|---|
| timeSpent | Specifies a time duration in JIRA duration format, representing the time spent working on the worklog, eg 1d 2h. |
| startDate | The start date of the worklog using the format MM-dd-yyy'T'HH:mm:ss |
| comment | Add a comment to the worklog. |
| groupLevel | The new group level. |
| roleLevelId | The new role level id. |
Adds a worklog to the given issue and sets the issue's remaining estimate field to the given value.
| issueKey | The key of the issue. |
|---|---|
| timeSpent | Specifies a time duration in JIRA duration format, representing the time spent working on the worklog, eg 1d 2h. |
| startDate | The start date of the worklog using the format MM-dd-yyy'T'HH:mm:ss |
| newRemainingEstimate | Specifies the issue's remaining estimate as a duration string, eg 1d 2h. |
| comment | Add a comment to the worklog. |
| groupLevel | The new group level. |
| roleLevelId | The new role level id. |
Archieves the given version/
| projectKey | The project key to use |
|---|---|
| versionName | The version name to use |
| archive | Whether it should be archived |
Creates a connection to Jira by making a login call with the given credentials to the specified address. The login call, if successfull, returns a token which will be used in the subsequent calls to Jira. It'll also create a REST client using the given credentials
| connectionUser | The user login user |
|---|---|
| connectionPassword | The user login pass |
| connectionAddress | The JIRA Server Soap address. It usually looks like https://<jira server hostname>/rpc/soap/jirasoapservice-v2 or http://<jira server hostname>/rpc/soap/jirasoapservice-v2 |
| restJiraUrl | The JIRA REST API URI |
| ConnectionException |
|---|
Create a component
| projectKey | Of the project for which the Component should be created |
|---|---|
| component | To create |
Creates a group with the given name optionally adding the given user to it.
| groupName | The name of the group to create. |
|---|---|
| userName | The user to add to the group (if null, no user will be added). |
Creates an issue.
| assignee | The assignee of the new issue |
|---|---|
| summary | The summary of the new issue |
| description | The description of the new issue |
| dueDate | The due date of the new issue using the format MM-dd-yyy'T'HH:mm:ss |
| environment | The environment of the new issue |
| priority | The priority of the new issue |
| project | The project of the new issue |
| reporter | The reporter of the new issue |
| type | The type of the new issue |
| votes | The votes of the new issue |
| customFields | The custom fields of the new issue, the keys of the map are the field ids, the values should be separated by a "|" if it is multivalued |
| componentName | The component name |
| componentId | The componentId |
Creates an issue.
| issue | JIRA issue to be created |
|---|
Creates a sub-task.
| issue | JIRA issue to be created |
|---|---|
| parentIssueKey | JIRA issue to be created |
Creates an issue using the the security level denoted by the given id.
| assignee | The assignee of the new issue |
|---|---|
| summary | The summary of the new issue |
| description | The description of the new issue |
| dueDate | The due date of the new issue using the format MM-dd-yyy'T'HH:mm:ss |
| environment | The environment of the new issue |
| priority | The priority of the new issue |
| project | The project of the new issue |
| reporter | The reporter of the new issue |
| type | The type of the new issue |
| votes | The votes of the new issue |
| customFields | The custom fields of the new issue, the keys of the map are the field ids, the values should be separated by a "|" if it is multivalued |
| securityLevelId | The id of the security level to use |
| componentName | The component name |
| componentId | The componentId |
Creates a new permission schema using the given name and description.
| permissionName | The name of the new permission scheme |
|---|---|
| description | The description of the new permission scheme |
Creates a new project
| key | The key for the new project |
|---|---|
| projectName | The name for the new project |
| description | The description for the new project |
| url | The url for the new project |
| lead | The lead of the new project |
| permissionSchemeName | The name of the permission scheme for the new project |
| notificationSchemeName | The name of the notification scheme for the new project |
| securityShemeName | The name of the security scheme for the new project |
Creates a new project role.
| projectRoleName | The name of the new project role |
|---|---|
| projectRoleDescription | The description of the new project role |
Creates a new project.
| project | JIRA issue to be created |
|---|
Creates a user in JIRA with the specified user details
| username | The user name to create |
|---|---|
| password | The password for the new user |
| fullName | The full name of the new user |
| The email of the new user |
Create a version
| version | To create |
|---|
Deletes the group denoted by the given group name.
| groupName | The group name to use |
|---|---|
| swapGroupName | The swap group name to use |
Deletes the issue with the given key
| issueKey | The key of the issue to delete |
|---|
Removes the permission to the given entity name (username or group name)
| permissionSchemeName | The name of the permission scheme to use |
|---|---|
| permissionCode | The permission code to use |
| entityName | The entity name, username or group name |
Deletes the permission scheme denoted by the given name
| permissionSchemeName | The name of the permission scheme to delete |
|---|
Deletes the project represented by the given project key.
| projectKey | The key of the project to delete |
|---|
Deletes the given custom Avatar from the system. System avatars cannot be deleted. Project administration permission is required.
| avatarId | Id of the custom avatar to delete. |
|---|
Deletes the project role denoted by the given project role id.
| projectRoleId | The id of the project role to delete |
|---|---|
| confirm | Whether confirm |
Deletes a user in JIRA with the specified username.
| username | The user name to delete |
|---|
Deletes the worklog with the given id and updates the remaining estimate field on the isssue by increasing it by the time spent amount on the worklog being deleted. The time spent field of the issue is reduced by the time spent amount on the worklog being deleted.
the SOAP auth token.| worklogId | The id of the worklog to delete. |
|---|
Deletes the worklog with the given id but leaves the remaining estimate field on the isssue unchanged. The time spent field of the issue is reduced by the time spent amount on the worklog being deleted.
the SOAP auth token.| worklogId | The id of the worklog to delete. |
|---|
Deletes the worklog with the given id and sets the remaining estimate field on the isssue to the given value. The time spent field of the issue is reduced by the time spent amount on the worklog being deleted.
the SOAP auth token.| workLogId | The id of the worklog to delete. |
|---|---|
| newRemainingEstimate | The new value for the issue's remaining estimate as a duration string, eg 1d 2h. |
Performs a logout call to Jira.
| IOException |
|---|
Edits the comment denoted by the given id
| commentId | The id of the comment to edit |
|---|---|
| body | The updated body comment |
| updateAuthor | The update author |
Returns all the permissions.
Returns the associated notification schemes for the given project role.
| projectRoleId | The project role to search |
|---|
Returns the associated permission schemas for the given project role.
| projectRoleId | The project role to search |
|---|
Returns the attachments for the issue denoted by the given key.
| issueKey | The issue key to use |
|---|
Finds the available actions for the given issue key
| issueKey | The key of the issue |
|---|
Finds a comment.
| commentId | The commentId of the comment |
|---|
Returns the comments for the issue denoted by the given key.
| issueKey | The key of the issue to get the comments for |
|---|
Returns an array of all the components for the specified project key.
| projectKey | The key of the requested project |
|---|
Returns information about the current configuration of JIRA.
Returns the custom fields for the current user
Returns the default role actors for the given project role id.
| projectRoleId | The id of the project role |
|---|
This retreives a list of the currently logged in user's favourite fitlers.
Returns the fields for the given action.
| issueKey | The issue key to use |
|---|---|
| actionIdString | The action id to use |
Returns the fields for edit for the given issue key
| issueKey | The issue key to get the fields for |
|---|
Find the group with the specified name in JIRA.
| groupName | The name of the group to find |
|---|
Get an issue given its key
| issueKey | The key of the issue to get |
|---|
Returns the issue for the given issue id.
| issueId | The issue id to use |
|---|
Returns the issue count for the filter denoted by this id.
| filterId | The fiter id to use |
|---|
Returns an array of all the issue types for all projects in JIRA.
Returns an array of all the (non-sub task) issue types for the specified project id.
| projectId | Id of the project |
|---|
Returns issues that match the saved filter specified by the filterId. This method will return no more than the maxNumResults.
It will start the result set at the provided off set. This method also respects the jira.search.views.max.limit and jira.search.views.max.unlimited.group JIRA properties which will override the max number of results returned. If the jira.search.views.max.limit property is set and you are not in a group specified by jira.search.views.max.unlimited.group then the number of results returned will be constrained by the value of jira.search.views.max.limit if it is less than the specified maxNumResults.| filterId | Identifies the saved filter to use for the search. |
|---|---|
| offset | The place in the result set to use as the first result returned |
| maxNumResults | The maximum number of results that this method will return. |
Execute a specified JQL query and return the resulting issues. This method also respects the jira.search.views.max.limit and jira.search.views.max.unlimited.group JIRA properties which will override the max number of results returned.
If the jira.search.views.max.limit property is set and you are not in a group specified by jira.search.views.max.unlimited.group then the number of results returned will be constrained by the value of jira.search.views.max.limit if it is less than the specified maxNumResults.| jqlSearch | JQL query string to execute |
|---|---|
| maxNumResults | The maximum number of results that this method will return |
Returns issues containing searchTerms. Note: this is a fuzzy search, returned in order of 'relevance', so the results are only generally useful for human consumption.
This method will return no more than the maxNumResults. It will start the result set at the provided off set. This method also respects the jira.search.views.max.limit and jira.search.views.max.unlimited.group JIRA properties which will override the max number of results returned. If the jira.search.views.max.limit property is set and you are not in a group specified by jira.search.views.max.unlimited.group then the number of results returned will be constrained by the value of jira.search.views.max.limit if it is less than the specified maxNumResults.| searchTerms | Search terms |
|---|---|
| offset | The place in the result set to use as the first result returned |
| maxNumResults | The maximum number of results that this method will return. |
Returns issues containing searchTerms that are within the specified projects. Note: this is a fuzzy search, returned in order of 'relevance', so the results are only generally useful for human consumption.
This method will return no more than the maxNumResults. This method also respects the jira.search.views.max.limit and jira.search.views.max.unlimited.group JIRA properties which will override the max number of results returned. If the jira.search.views.max.limit property is set and you are not in a group specified by jira.search.views.max.unlimited.group then the number of results returned will be constrained by the value of jira.search.views.max.limit if it is less than the specified maxNumResults.| projectKeys | The project keys to use |
|---|---|
| searchTerms | Earch terms |
| maxNumResults | The maximum number of results that this method will return. |
Returns notification schemes.
Returns the permission schemes.
Returns an array of all the issue statuses in JIRA.
Get a project given its key
| projectKey | The key of the project to get |
|---|
Retrieves the current avatar for the given project. Project browse permission is required.
| projectKey | The key for the project. |
|---|
Retrieves avatars for the given project. If the includeSystemAvatars parameter is true, this will include both system (built-in) avatars as well as custom (user-supplied) avatars for that project, otherwise it will include only the custom avatars. Project browse permission is required.
| projectKey | The key for the project. |
|---|---|
| includeSystemAvatars | If false, only custom avatars will be included in the returned array. |
Returns the Project with the matching id (if the user has permission to browse it).
| projectId | The id of the requested project |
|---|
Returns the Project with the matching key (if the user has permission to browse it).
| projectKey | The key of the requested projec |
|---|
Returns the project role by projectRoleId.
| projectRoleId | The projectRoleId of the project role |
|---|
Returns the project role actors for the given project
| projectRoleId | The project role id to use |
|---|---|
| projectKey | The project key to use |
Returns the project roles.
Returns the Project with the matching id (if the user has permission to browse it) with notification, issue security and permission schemes attached.
| projectId | The id of the requested project |
|---|
Returns an array of all the Projects defined in JIRA.
Finds an issue by key. This operation is deprecated, instead use @{link getIssue()}
| issueKey | The key of the issue to find. |
|---|
Returns information about a user defined to JIRA. Deprecated by getUser(), which uses the REST API
| username | The user name to look up |
|---|
Given an issue id, this method returns the resolution date for this issue. If the issue hasn't been resolved yet, this method will return null. If the no issue with the given id exists a RemoteException will be thrown.
| issueId | The id of the issue |
|---|
Given an issue key, this method returns the resolution date for this issue. If the issue hasn't been resolved yet, this method will return null.
| issueKey | The key of the issue |
|---|
Returns an array of all the issue resolutions in JIRA.
Returns the current security level for given issue
| issueKey | The issue key |
|---|
Returns an array of all security levels for a given project.
| projectKey | The key for the project |
|---|
Returns the security schemes.
Returns information about the server JIRA is running on including build number and base URL.
Returns an array of all the issue statuses in JIRA.
Returns an array of all the sub task issue types in JIRA.
Returns an array of all the sub task issue types for the specified project id.
| projectId | Id of the project |
|---|
Get a user given its username
| userName | Of the user to get |
|---|
Returns an array of all the versions for the specified project key.
| projectKey | The key of the requested project |
|---|
Returns all worklogs for the given issue.
the SOAP auth token.| issueKey | The key of the issue. |
|---|
Determines if the user has the permission to add worklogs to the specified issue, that timetracking is enabled in JIRA and that the specified issue is in an editable workflow state.
the SOAP auth token.| issueKey | The key of the issue. |
|---|
Determine whether the current user has the permission to delete the supplied worklog, that timetracking is enabled in JIRA and that the associated issue is in an editable workflow state. This method will return true if the user is a member of the worklog's group/role level (if specified) AND The user has the WORKLOG_DELETE_ALL permission; OR The user is the worklog author and has the WORKLOG_DELETE_OWN permission and false otherwise.
the SOAP auth token.| worklogId | The id of the worklog wishes to delete. |
|---|
Returns whether the current user has permissions to edit the comment denoted by the given id.
| commentId | The comment id to use |
|---|
Determine whether the current user has the permission to update the supplied worklog, that timetracking is enabled in JIRA and that the associated issue is in an editable workflow state. This method will return true if the user is a member of the worklog's group/role level (if specified) AND The user has the WORKLOG_EDIT_ALL permission; OR The user is the worklog author and has the WORKLOG_EDIT_OWN permission and false otherwise.
| worklogId | The ide of the worklog wishes to update. |
|---|
Checks if the given project role name is unique.
| roleName | The project role name to check for uniqueness |
|---|
Log in using the given credentials, it returns the authentication token.
| username | The username to use |
|---|---|
| password | The password to use |
Cleans up an authentication token that was previously created with a call to login
| token | The token to invalidate |
|---|
This will progress an issue through a workflow.
| issueKey | The issue to update. |
|---|---|
| actionIdString | The workflow action to progress to |
| fields | The fields to be updated, the key of the map is the field id and the value is a list of values for that field, the values should be separated by a "|" if it is multivalued |
Refreshs custom fields for the current user.
Releases the version denoted by the given name
| projectKey | The project key to use |
|---|---|
| versionName | The version name to release |
Removes the given actors from the project role
| actors | The actors to remove |
|---|---|
| projectRoleId | The id of the project role to use |
| projectKey | The key of project to use |
| actorType | The actor type to use |
Removes all role actors using the given name and type.
| roleName | The name to delete |
|---|---|
| type | The type to delete |
Removes all role actors for the given project key.
| projectKey | The project key for which to remove all role actors |
|---|
Removes the default actors from the project role denoted by this id.
| actors | The actors to remove |
|---|---|
| remoteProjectRoleId | The id of the project role |
| type | The type |
Removes a user from the group name.
| groupName | The group name for which to remove the user |
|---|---|
| userName | The username to remove |
| connectionAddress |
|---|
| connectionUser |
|---|
| jiraRestUrl |
|---|
Creates a new custom avatar for the given project and sets it to be current for the project. The image data must be provided as base64 encoded data and should be 48 pixels square. If the image is larger, the top left 48 pixels are taken, if it is smaller it is upscaled to 48 pixels. The small version of the avatar image (16 pixels) is generated automatically. Project administration permission is required.
| projectKey | The key for the project. |
|---|---|
| contentType | The MIME type of the image provided, e.g. image/gif, image/jpeg, image/png. |
| base64ImageData | A base 64 encoded image, 48 pixels square. |
Sets the current avatar for the given project to that with the given id. Project administration permission is required.
| projectKey | The key for the project. |
|---|---|
| avatarId | The id of an existing avatar to use for the project or null for the default avatar. |
| restClient |
|---|
| token |
|---|
| useCustomFieldsExternalName |
|---|
Returns a connection identifier.
Update a component
| uri | Of the Component to update |
|---|---|
| component | With the updates to be applied |
| URISyntaxException | when the URI is not well formed |
|---|
Updates the given group name with the provided users.
| groupName | The group name to update |
|---|---|
| usernames | The updated usernames |
This will update an issue with new values. NOTE : You cannot update the 'status' field of the issue via this method.
| issueKey | The issue to update. |
|---|---|
| fields | The fields to be updated, the key of the map is the field id and the value is a list of values for that field, the values should be separated by a "|" if it is multivalued |
This will update the set of issues that result from the jql search NOTE : You cannot update the 'status' field of the issues via this method.
| jql | The jql to search the issues that will be updated if issueKey is not set. |
|---|---|
| fields | The fields to be updated, the key of the map is the field id and the value is a list of values for that field, the values should be separated by a "|" if it is multivalued |
| maxRecordsToUpdate | The number of issues you expect the jql search will find. If set, the update will only take place if the number of issues found is the same as this |
RemoteIssues
Updates the project denoted by the given key.
| key | The key of the project to update |
|---|---|
| projectName | The new project name |
| description | The new description |
| url | The new url |
| lead | The new lead |
| permissionSchemeName | The new permission scheme name |
| notificationSchemeName | The new notification scheme name |
| securityShemeName | The new security scheme name |
Updates the project role with the given id.
| projectRoleId | The id of the project role to update |
|---|---|
| projectRoleName | The new project role name |
| projectRoleDescription | The new project role description |
Update a version
| uri | Of the Version to update |
|---|---|
| version | With the updates to be applied |
| URISyntaxException | when the URI is not well formed |
|---|
Modifies the worklog with the id of the given worklog, updating its fields to match the given worklog and sets the remaining estimate field on the relevant issue to the given value. The time spent field of the issue is changed by subtracting the previous value of the worklog's time spent amount and adding the new value in the given worklog.
| issueKey | The issue key to use |
|---|---|
| worklogId | The worklog id to use |
| newRemainingEstimate | The new value for the issue's remaining estimate as a duration string, eg 1d 2h. |
| comment | The new comment |
| groupLevel | The new group level |
| roleLevelId | The new role level id |
Upload an attachment to the issue
| issue | In which to upload the attachment to |
|---|---|
| in | InputStream of the file's content |
| filename | Of the attachment |
Returns whether the current user is authenticated. It does not mean tell anything whether the current session has expired