Skip to content

Ownership transfer: CI / package services #161

Ownership transfer: CI / package services

Ownership transfer: CI / package services #161

Workflow file for this run

name: Escalate to pSRE
on:
issues:
types: labeled
jobs:
file-jira:
runs-on: ubuntu-latest
if: ${{ github.event.label.name == 'escalate-to-psre' }}
steps:
- name: Login
uses: atlassian/gajira-login@v3
env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_USER_EMAIL: '[email protected]'
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
- name: Create ticket
uses: atlassian/gajira-create@v3
id: jiracreate
with:
project: PSRE
issuetype: Story
summary: ${{ github.event.issue.title }}
description: |
${{ github.event.issue.body }}
The original issue is at ${{ github.event.issue.html_url }}
fields: '{ "labels": ["esre-request"] }'
- name: Comment with JIRA issue link
uses: peter-evans/create-or-update-comment@v2
with:
body: This is now https://2u-internal.atlassian.net/browse/${{ steps.jiracreate.outputs.issue }}
issue-number: ${{ github.event.issue.number }}