Orch3strator/w3rkstatt

Jira Service Management integration

Opened this issue · 2 comments

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

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'},
  )

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.