Service Now to Bitbucket Integration

DarshanVenkata
Mega Contributor

I am trying to look at possible solutions for automating a process - 

When a requestor adds metadata to the fields of a Service Now ticket I now manually have to copy and paste those field entries as values in my code and create a Pull Request (PR) on Bitbucket. 

I was wondering if there is a way to automate this process for when a requestor inputs the metadata and submits the ticket, I would like an integration workflow to run and create a pull request adding myself as an approver. 

Here is what I think the process would be like : 

  1. Metadata Extraction: Develop logic within Service Now to extract relevant metadata fields directly from the request submission. This could include SP name, endpoints, certificates, and any other necessary information.

  2. PR Template Generation: Use the extracted metadata to dynamically generate the content for the pull request (PR) template or draft. This template should include all the required changes or additions needed in the Bitbucket repository.

  3. Automated PR Creation: Automatically create a PR in the designated Bitbucket repository with the generated template. Ensure that the PR is properly tagged and assigned to the relevant developers or reviewers for their attention.

  4. Notification: Notify the relevant stakeholders about the newly created PR for their review and action. This notification should include information about the changes proposed in the PR and any specific instructions or requirements for review.

 

0 REPLIES 0