|
1 |
| -name: Create Issue In Jira |
| 1 | +# name: Create Issue In Jira |
2 | 2 |
|
3 |
| -on: |
4 |
| - issues: |
5 |
| - types: |
6 |
| - - opened |
7 |
| - pull_request_target: |
8 |
| - types: |
9 |
| - - opened |
10 |
| - workflow_call: |
| 3 | +# on: |
| 4 | +# issues: |
| 5 | +# types: |
| 6 | +# - opened |
| 7 | +# pull_request_target: |
| 8 | +# types: |
| 9 | +# - opened |
| 10 | +# workflow_call: |
11 | 11 |
|
12 |
| -jobs: |
13 |
| - create_jira_issue: |
14 |
| - name: Create Jira Issue |
15 |
| - runs-on: ubuntu-latest |
16 |
| - permissions: write-all |
| 12 | +# jobs: |
| 13 | +# create_jira_issue: |
| 14 | +# name: Create Jira Issue |
| 15 | +# runs-on: ubuntu-latest |
| 16 | +# permissions: write-all |
17 | 17 |
|
18 |
| - steps: |
| 18 | +# steps: |
19 | 19 |
|
20 |
| - - name: Checkout |
21 |
| - uses: actions/checkout@master |
| 20 | +# - name: Checkout |
| 21 | +# uses: actions/checkout@master |
22 | 22 |
|
23 |
| - - name: Login |
24 |
| - uses: atlassian/gajira-login@master |
25 |
| - env: |
26 |
| - JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} |
27 |
| - JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} |
28 |
| - JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }} |
| 23 | +# - name: Login |
| 24 | +# uses: atlassian/gajira-login@master |
| 25 | +# env: |
| 26 | +# JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }} |
| 27 | +# JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }} |
| 28 | +# JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }} |
29 | 29 |
|
30 |
| - # Create new ticket in Jira |
31 |
| - - name: Create |
32 |
| - id: create |
33 |
| - uses: atlassian/gajira-create@v3 |
34 |
| - with: |
35 |
| - project: PETOSS |
36 |
| - issuetype: Story |
37 |
| - summary: ${{ github.event.repository.name }} ${{ github.event.issue.number || github.event.pull_request.number }} ${{ github.event.issue.title || github.event.pull_request.title }} |
38 |
| - description: ${{ github.event.issue.body || github.event.pull_request.body }} |
| 30 | +# # Create new ticket in Jira |
| 31 | +# - name: Create |
| 32 | +# id: create |
| 33 | +# uses: atlassian/gajira-create@v3 |
| 34 | +# with: |
| 35 | +# project: PETOSS |
| 36 | +# issuetype: Story |
| 37 | +# summary: ${{ github.event.repository.name }} ${{ github.event.issue.number || github.event.pull_request.number }} ${{ github.event.issue.title || github.event.pull_request.title }} |
| 38 | +# description: ${{ github.event.issue.body || github.event.pull_request.body }} |
39 | 39 |
|
40 |
| - # Add created jira id as comment in issue thread. This allows us to easily |
41 |
| - # retrieve the id when the issue state is updated, i.e. closed |
42 |
| - - name: Add jira ticket id as comment |
43 |
| - uses: peter-evans/create-or-update-comment@v2 |
44 |
| - with: |
45 |
| - issue-number: ${{ github.event.issue.number || github.event.pull_request.number }} |
46 |
| - body: ${{ steps.create.outputs.issue }} |
47 |
| - token: ${{ secrets.GITHUB_TOKEN }} |
| 40 | +# # Add created jira id as comment in issue thread. This allows us to easily |
| 41 | +# # retrieve the id when the issue state is updated, i.e. closed |
| 42 | +# - name: Add jira ticket id as comment |
| 43 | +# uses: peter-evans/create-or-update-comment@v2 |
| 44 | +# with: |
| 45 | +# issue-number: ${{ github.event.issue.number || github.event.pull_request.number }} |
| 46 | +# body: ${{ steps.create.outputs.issue }} |
| 47 | +# token: ${{ secrets.GITHUB_TOKEN }} |
48 | 48 |
|
49 |
| - # Add additional comment to let user know what is happening |
50 |
| - - name: Add additional comment notifying user that a ticket has been created |
51 |
| - uses: peter-evans/create-or-update-comment@v2 |
52 |
| - with: |
53 |
| - issue-number: ${{ github.event.issue.number || github.event.pull_request.number }} |
54 |
| - body: Thanks for raising an issue, a ticket has been created to track your request |
55 |
| - token: ${{ secrets.GITHUB_TOKEN }} |
| 49 | +# # Add additional comment to let user know what is happening |
| 50 | +# - name: Add additional comment notifying user that a ticket has been created |
| 51 | +# uses: peter-evans/create-or-update-comment@v2 |
| 52 | +# with: |
| 53 | +# issue-number: ${{ github.event.issue.number || github.event.pull_request.number }} |
| 54 | +# body: Thanks for raising an issue, a ticket has been created to track your request |
| 55 | +# token: ${{ secrets.GITHUB_TOKEN }} |
0 commit comments