Skip to content

Commit 30f6c72

Browse files
committed
bug(jira): fix parse issue
1 parent ff36cd0 commit 30f6c72

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ To update the fields of an issue you need to specify an issue key and field data
1212

1313
```yaml
1414
- name: Comment on issue
15-
uses: kherP/[email protected].7
15+
uses: kherP/[email protected].8
1616
with:
1717
issue: INC-2
18-
fields: customfield_10006:3,customfield_10007:44
18+
fields: customfield_10006::https://www.google.com,customfield_10007::44
1919
```
2020
2121
## Action Spec

common/net/Jira.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class Jira {
2828
try {
2929
const array = data.split(',');
3030
const parsedData = array.reduce((newData, item) => {
31-
const splitItem = item.split(':');
31+
const splitItem = item.split('::');
3232
if (splitItem.length === 2) {
3333
newData[splitItem[0].trim()] = splitItem[1];
3434
}

0 commit comments

Comments
 (0)