Skip to content

Commit 6ed54f6

Browse files
committed
chore(jira): update version
1 parent 7d0280a commit 6ed54f6

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ 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].11
15+
uses: kherP/[email protected].12
1616
with:
1717
issue: INC-2
1818
fields: customfield_10006::https://www.google.com,customfield_10007::44

dist/index.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -71,16 +71,17 @@ class Jira {
7171
}
7272
return newData;
7373
}, {});
74+
const body = JSON.parse(JSON.stringify({
75+
fields: parsedData
76+
}));
7477
return this.fetch(
7578
"updateField",
7679
{
7780
pathname: `/rest/api/2/issue/${issueId}`,
7881
},
7982
{
8083
method: "PUT",
81-
body: {
82-
fields: parsedData
83-
},
84+
body,
8485
},
8586
true
8687
);

dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)