Orch3strator / w3rkstatt

Integrate with 3rd party applications for automation and orchestration purposes.
GNU General Public License v3.0
7 stars 2 forks source link

Jira Service Management integration #3

Open rwestbrock opened 2 years ago

rwestbrock commented 2 years ago

I see that the ServiceNOW integration is in development, has there been any thought put into developing an integration for Jira Service Management?

Orch3strator commented 1 year ago

That would be an enhancement. I don't have access to such an environment. It should be very straight forward. We just have to map the "incident" fields to Jira SM. Would you be able to share some more details?

We could implement:

  from jira import JIRA

  # Connect to the JIRA API
  jira = JIRA(
      basic_auth=('username', 'api_key'),
      options={'server': 'https://your-jira-server.com'}
  )

  # Create a new issue
  new_issue = jira.create_issue(
      project='PROJECT_KEY',
      summary='Issue summary',
      description='Issue description',
      issuetype={'name': 'Bug'},
  )
rwestbrock commented 1 year ago

My apologies for the delayed response, somehow I missed the email notification. I can definitely work with the API to create a JSM issue using Postman to figure out the correct fields to pass.