Search

Delete Issue

Last Updated: Nov 4, 2020

Articles

Use this function to delete an existing issue.

Syntax

Delete Issue (token, url, username, issue_key)

Parameters

Input Parameter Name Description
token JIRA API token
url JIRA URL
username JIRA username
issue_key Key of the Issue

Returns

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

Sample

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

  • Uses the token ‘ABCDEF’ to connect to JIRA with the url ‘https: //yourusername.atlassian.net’ with the username ‘yourname@gmail.com’, deletes the issue ‘EX-30’.
    Returns ‘Issue Deleted Successfully’ on deleting the issue.

To view all the JIRA functions, click here.

Did you find what you were looking for?