Skip to content
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

RFR: Add sample JIRA sensor and action (Pass #1) #379

Merged
merged 7 commits into from
Aug 14, 2014

Conversation

lakshmi-kannan
Copy link
Contributor

* Add JIRA sensor that would watch for new projects.
* Add JIRA action that would create an issue.
* Add JIRA action metadata.

    * 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"
Copy link
Contributor Author

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?

Copy link
Contributor

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']
}

@dzimine
Copy link

dzimine commented Aug 14, 2014

  1. Need a README.md explaining how to hook this up with JIRA (else we forget ourselves).
  2. Once we have default parameters in place, can we suggest in "README" to go set/update defaults in jira.create_issue JSON?

def setup(self):
global RSA_CERT_FILE
if not os.path.exists(RSA_CERT_FILE):
raise Exception('Cert file required for JIRA OAuth.')
Copy link

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

lakshmi-kannan added a commit that referenced this pull request Aug 14, 2014
RFR: Add sample JIRA sensor and action (Pass #1)
@lakshmi-kannan lakshmi-kannan merged commit f1ec0aa into master Aug 14, 2014
@lakshmi-kannan lakshmi-kannan deleted the jira_sensor_action branch August 14, 2014 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants