Search

Assign Issue

Last Updated: Nov 4, 2020

Articles

Use this function to assign the issue to a particular user.

Syntax

Assign Issue (token, url, username, issue_key, account_id)

Parameters

Input Parameter Name Description
token JIRA API token
url JIRA URL
username JIRA username
issue_key Key of the Issue
account_id Account ID of the assignee

Returns

Return Value Description
Output
  • On Success: 1, Issue Assigned Successfully
  • On Failure: 0, Error Message

Sample

Assign Issue (ABCDCEF, https: //yourusername.atlassian.net, yourname@gmail.com, EX-30, 12345)

  • Uses the token ‘ABCDEF’ to connect to JIRA with the url ‘https: //yourusername.atlassian.net’ with the username ‘yourname@gmail.com’, assigns the issue ‘EX-30’ to the account with the ID ‘12345’.
    Returns ‘Issue Assigned Successfully’ on assigning the issue.

To view all the JIRA functions, click here.

Did you find what you were looking for?