We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 22841d6 + bba8d7a commit 7eab116Copy full SHA for 7eab116
dojo/jira_link/helper.py
@@ -736,8 +736,12 @@ def close_epic(eng, push_to_jira):
736
if push_to_jira:
737
try:
738
jissue = get_jira_issue(eng)
739
+ if jissue is None:
740
+ logger.warn("JIRA close epic failed: no issue found")
741
+ return False
742
+
743
req_url = jira_instance.url + '/rest/api/latest/issue/' + \
- j_issue.jira_id + '/transitions'
744
+ jissue.jira_id + '/transitions'
745
json_data = {'transition': {'id': jira_instance.close_status_key}}
746
r = requests.post(
747
url=req_url,
0 commit comments