Skip to content

Commit e74a1bd

Browse files
algolia-botmillotp
andcommitted
chore(scripts): use markdown in jira (#3572) (generated) [skip ci]
Co-authored-by: Pierre Millot <[email protected]>
1 parent 59f605f commit e74a1bd

File tree

11 files changed

+22
-176
lines changed
  • clients
    • algoliasearch-client-csharp/.github/workflows
    • algoliasearch-client-dart/.github/workflows
    • algoliasearch-client-go/.github/workflows
    • algoliasearch-client-javascript/.github/workflows
    • algoliasearch-client-java/.github/workflows
    • algoliasearch-client-kotlin/.github/workflows
    • algoliasearch-client-php/.github/workflows
    • algoliasearch-client-python/.github/workflows
    • algoliasearch-client-ruby/.github/workflows
    • algoliasearch-client-scala/.github/workflows
    • algoliasearch-client-swift/.github/workflows

11 files changed

+22
-176
lines changed

clients/algoliasearch-client-csharp/.github/workflows/issue.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
const title = context.payload.issue.title;
2323
const body = context.payload.issue.body;
2424
25-
const res = await fetch('https://algolia.atlassian.net/rest/api/3/issue', {
25+
const res = await fetch('https://algolia.atlassian.net/rest/api/2/issue', {
2626
method: 'POST',
2727
headers: {
2828
'Accept': 'application/json',
@@ -31,21 +31,7 @@ jobs:
3131
},
3232
body: JSON.stringify({
3333
fields: {
34-
description: {
35-
content: [
36-
{
37-
content: [
38-
{
39-
text: `Issue created by ${context.actor} at ${context.payload.issue.html_url} \n\n${body}`,
40-
type: 'text'
41-
}
42-
],
43-
type: 'paragraph'
44-
}
45-
],
46-
type: 'doc',
47-
version: 1
48-
},
34+
description: `Issue created by ${context.actor} at [${context.payload.issue.html_url}](${context.payload.issue.html_url}) \n\n${body}`,
4935
issuetype: {
5036
id: '10001'
5137
},

clients/algoliasearch-client-dart/.github/workflows/issue.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
const title = context.payload.issue.title;
2323
const body = context.payload.issue.body;
2424
25-
const res = await fetch('https://algolia.atlassian.net/rest/api/3/issue', {
25+
const res = await fetch('https://algolia.atlassian.net/rest/api/2/issue', {
2626
method: 'POST',
2727
headers: {
2828
'Accept': 'application/json',
@@ -31,21 +31,7 @@ jobs:
3131
},
3232
body: JSON.stringify({
3333
fields: {
34-
description: {
35-
content: [
36-
{
37-
content: [
38-
{
39-
text: `Issue created by ${context.actor} at ${context.payload.issue.html_url} \n\n${body}`,
40-
type: 'text'
41-
}
42-
],
43-
type: 'paragraph'
44-
}
45-
],
46-
type: 'doc',
47-
version: 1
48-
},
34+
description: `Issue created by ${context.actor} at [${context.payload.issue.html_url}](${context.payload.issue.html_url}) \n\n${body}`,
4935
issuetype: {
5036
id: '10001'
5137
},

clients/algoliasearch-client-go/.github/workflows/issue.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
const title = context.payload.issue.title;
2323
const body = context.payload.issue.body;
2424
25-
const res = await fetch('https://algolia.atlassian.net/rest/api/3/issue', {
25+
const res = await fetch('https://algolia.atlassian.net/rest/api/2/issue', {
2626
method: 'POST',
2727
headers: {
2828
'Accept': 'application/json',
@@ -31,21 +31,7 @@ jobs:
3131
},
3232
body: JSON.stringify({
3333
fields: {
34-
description: {
35-
content: [
36-
{
37-
content: [
38-
{
39-
text: `Issue created by ${context.actor} at ${context.payload.issue.html_url} \n\n${body}`,
40-
type: 'text'
41-
}
42-
],
43-
type: 'paragraph'
44-
}
45-
],
46-
type: 'doc',
47-
version: 1
48-
},
34+
description: `Issue created by ${context.actor} at [${context.payload.issue.html_url}](${context.payload.issue.html_url}) \n\n${body}`,
4935
issuetype: {
5036
id: '10001'
5137
},

clients/algoliasearch-client-java/.github/workflows/issue.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
const title = context.payload.issue.title;
2323
const body = context.payload.issue.body;
2424
25-
const res = await fetch('https://algolia.atlassian.net/rest/api/3/issue', {
25+
const res = await fetch('https://algolia.atlassian.net/rest/api/2/issue', {
2626
method: 'POST',
2727
headers: {
2828
'Accept': 'application/json',
@@ -31,21 +31,7 @@ jobs:
3131
},
3232
body: JSON.stringify({
3333
fields: {
34-
description: {
35-
content: [
36-
{
37-
content: [
38-
{
39-
text: `Issue created by ${context.actor} at ${context.payload.issue.html_url} \n\n${body}`,
40-
type: 'text'
41-
}
42-
],
43-
type: 'paragraph'
44-
}
45-
],
46-
type: 'doc',
47-
version: 1
48-
},
34+
description: `Issue created by ${context.actor} at [${context.payload.issue.html_url}](${context.payload.issue.html_url}) \n\n${body}`,
4935
issuetype: {
5036
id: '10001'
5137
},

clients/algoliasearch-client-javascript/.github/workflows/issue.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
const title = context.payload.issue.title;
2323
const body = context.payload.issue.body;
2424
25-
const res = await fetch('https://algolia.atlassian.net/rest/api/3/issue', {
25+
const res = await fetch('https://algolia.atlassian.net/rest/api/2/issue', {
2626
method: 'POST',
2727
headers: {
2828
'Accept': 'application/json',
@@ -31,21 +31,7 @@ jobs:
3131
},
3232
body: JSON.stringify({
3333
fields: {
34-
description: {
35-
content: [
36-
{
37-
content: [
38-
{
39-
text: `Issue created by ${context.actor} at ${context.payload.issue.html_url} \n\n${body}`,
40-
type: 'text'
41-
}
42-
],
43-
type: 'paragraph'
44-
}
45-
],
46-
type: 'doc',
47-
version: 1
48-
},
34+
description: `Issue created by ${context.actor} at [${context.payload.issue.html_url}](${context.payload.issue.html_url}) \n\n${body}`,
4935
issuetype: {
5036
id: '10001'
5137
},

clients/algoliasearch-client-kotlin/.github/workflows/issue.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
const title = context.payload.issue.title;
2323
const body = context.payload.issue.body;
2424
25-
const res = await fetch('https://algolia.atlassian.net/rest/api/3/issue', {
25+
const res = await fetch('https://algolia.atlassian.net/rest/api/2/issue', {
2626
method: 'POST',
2727
headers: {
2828
'Accept': 'application/json',
@@ -31,21 +31,7 @@ jobs:
3131
},
3232
body: JSON.stringify({
3333
fields: {
34-
description: {
35-
content: [
36-
{
37-
content: [
38-
{
39-
text: `Issue created by ${context.actor} at ${context.payload.issue.html_url} \n\n${body}`,
40-
type: 'text'
41-
}
42-
],
43-
type: 'paragraph'
44-
}
45-
],
46-
type: 'doc',
47-
version: 1
48-
},
34+
description: `Issue created by ${context.actor} at [${context.payload.issue.html_url}](${context.payload.issue.html_url}) \n\n${body}`,
4935
issuetype: {
5036
id: '10001'
5137
},

clients/algoliasearch-client-php/.github/workflows/issue.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
const title = context.payload.issue.title;
2323
const body = context.payload.issue.body;
2424
25-
const res = await fetch('https://algolia.atlassian.net/rest/api/3/issue', {
25+
const res = await fetch('https://algolia.atlassian.net/rest/api/2/issue', {
2626
method: 'POST',
2727
headers: {
2828
'Accept': 'application/json',
@@ -31,21 +31,7 @@ jobs:
3131
},
3232
body: JSON.stringify({
3333
fields: {
34-
description: {
35-
content: [
36-
{
37-
content: [
38-
{
39-
text: `Issue created by ${context.actor} at ${context.payload.issue.html_url} \n\n${body}`,
40-
type: 'text'
41-
}
42-
],
43-
type: 'paragraph'
44-
}
45-
],
46-
type: 'doc',
47-
version: 1
48-
},
34+
description: `Issue created by ${context.actor} at [${context.payload.issue.html_url}](${context.payload.issue.html_url}) \n\n${body}`,
4935
issuetype: {
5036
id: '10001'
5137
},

clients/algoliasearch-client-python/.github/workflows/issue.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
const title = context.payload.issue.title;
2323
const body = context.payload.issue.body;
2424
25-
const res = await fetch('https://algolia.atlassian.net/rest/api/3/issue', {
25+
const res = await fetch('https://algolia.atlassian.net/rest/api/2/issue', {
2626
method: 'POST',
2727
headers: {
2828
'Accept': 'application/json',
@@ -31,21 +31,7 @@ jobs:
3131
},
3232
body: JSON.stringify({
3333
fields: {
34-
description: {
35-
content: [
36-
{
37-
content: [
38-
{
39-
text: `Issue created by ${context.actor} at ${context.payload.issue.html_url} \n\n${body}`,
40-
type: 'text'
41-
}
42-
],
43-
type: 'paragraph'
44-
}
45-
],
46-
type: 'doc',
47-
version: 1
48-
},
34+
description: `Issue created by ${context.actor} at [${context.payload.issue.html_url}](${context.payload.issue.html_url}) \n\n${body}`,
4935
issuetype: {
5036
id: '10001'
5137
},

clients/algoliasearch-client-ruby/.github/workflows/issue.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
const title = context.payload.issue.title;
2323
const body = context.payload.issue.body;
2424
25-
const res = await fetch('https://algolia.atlassian.net/rest/api/3/issue', {
25+
const res = await fetch('https://algolia.atlassian.net/rest/api/2/issue', {
2626
method: 'POST',
2727
headers: {
2828
'Accept': 'application/json',
@@ -31,21 +31,7 @@ jobs:
3131
},
3232
body: JSON.stringify({
3333
fields: {
34-
description: {
35-
content: [
36-
{
37-
content: [
38-
{
39-
text: `Issue created by ${context.actor} at ${context.payload.issue.html_url} \n\n${body}`,
40-
type: 'text'
41-
}
42-
],
43-
type: 'paragraph'
44-
}
45-
],
46-
type: 'doc',
47-
version: 1
48-
},
34+
description: `Issue created by ${context.actor} at [${context.payload.issue.html_url}](${context.payload.issue.html_url}) \n\n${body}`,
4935
issuetype: {
5036
id: '10001'
5137
},

clients/algoliasearch-client-scala/.github/workflows/issue.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
const title = context.payload.issue.title;
2323
const body = context.payload.issue.body;
2424
25-
const res = await fetch('https://algolia.atlassian.net/rest/api/3/issue', {
25+
const res = await fetch('https://algolia.atlassian.net/rest/api/2/issue', {
2626
method: 'POST',
2727
headers: {
2828
'Accept': 'application/json',
@@ -31,21 +31,7 @@ jobs:
3131
},
3232
body: JSON.stringify({
3333
fields: {
34-
description: {
35-
content: [
36-
{
37-
content: [
38-
{
39-
text: `Issue created by ${context.actor} at ${context.payload.issue.html_url} \n\n${body}`,
40-
type: 'text'
41-
}
42-
],
43-
type: 'paragraph'
44-
}
45-
],
46-
type: 'doc',
47-
version: 1
48-
},
34+
description: `Issue created by ${context.actor} at [${context.payload.issue.html_url}](${context.payload.issue.html_url}) \n\n${body}`,
4935
issuetype: {
5036
id: '10001'
5137
},

clients/algoliasearch-client-swift/.github/workflows/issue.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
const title = context.payload.issue.title;
2323
const body = context.payload.issue.body;
2424
25-
const res = await fetch('https://algolia.atlassian.net/rest/api/3/issue', {
25+
const res = await fetch('https://algolia.atlassian.net/rest/api/2/issue', {
2626
method: 'POST',
2727
headers: {
2828
'Accept': 'application/json',
@@ -31,21 +31,7 @@ jobs:
3131
},
3232
body: JSON.stringify({
3333
fields: {
34-
description: {
35-
content: [
36-
{
37-
content: [
38-
{
39-
text: `Issue created by ${context.actor} at ${context.payload.issue.html_url} \n\n${body}`,
40-
type: 'text'
41-
}
42-
],
43-
type: 'paragraph'
44-
}
45-
],
46-
type: 'doc',
47-
version: 1
48-
},
34+
description: `Issue created by ${context.actor} at [${context.payload.issue.html_url}](${context.payload.issue.html_url}) \n\n${body}`,
4935
issuetype: {
5036
id: '10001'
5137
},

0 commit comments

Comments
 (0)