-
-
Notifications
You must be signed in to change notification settings - Fork 758
RFR: Add sample JIRA sensor and action (Pass #1) #379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
lakshmi-kannan
commented
Aug 14, 2014
* Add JIRA sensor that would watch for new projects. * Add JIRA action that would create an issue. * Add JIRA action metadata.
"type": "string" | ||
}, | ||
"issue_type": { | ||
"type": "string" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@m4dcoder : How do I specify an enum?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{
enum: ['fe', 'fi', 'fo', 'fum']
}
|
def setup(self): | ||
global RSA_CERT_FILE | ||
if not os.path.exists(RSA_CERT_FILE): | ||
raise Exception('Cert file required for JIRA OAuth.') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you add RCA_CERT_FILE to exception the user will get an idea where the file should be. "Cert file not found fro JIRA OAuth at " + RCA_CERT_FILE
RFR: Add sample JIRA sensor and action (Pass #1)