- "PARAMETER_SERVICE_CUSTOMID",
- ]:
- if necessary not in context:
- notfound.append(necessary)
- if notfound:
- sys.stderr.write("%s not set" % ",".join(notfound))
- sys.exit(2)
- password = None
- if context["PARAMETER_PASSWORD_1"] == "cmk_postprocessed":
- if context["PARAMETER_PASSWORD_2"] == "stored_password":
- password = utils.retrieve_from_passwordstore("store " + context["PARAMETER_PASSWORD_3_1"])
- if context["PARAMETER_PASSWORD_2"] == "explicit_password":
- password = context["PARAMETER_PASSWORD_3_2"]
-
- if not password:
- print("No Password configured.")
- sys.exit(2)
- jira = JIRA(server=context['PARAMETER_URL'], basic_auth=(context['PARAMETER_USERNAME'], password))