Skip to content

Commit a4de384

Browse files
authored
Fix update_dashboard #76: Correct Payload (#77)
* Fix `update_dashboard` #76: Correct Payload Turns out during my testing, I forgot to have a permutation where I updated the permissions of a dashboard. Discovered the payload is malformed because of a lack of post-processing in the `jira` lib (this is as intended). This PR fixes the issue. * Update keys in payload dict for `update_dashboard` action from `edit_permissions/share_permissions` to `editPermissions/sharePermissions` to make the `jira` API happy. * Force Tests * Force Tests
1 parent a45a2e5 commit a4de384

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## 3.0.1
4+
5+
- Fixed bug with `update_dashboard` action sending the wrong payload.
6+
37
## 3.0.0
48

59
- Drop support for `python 3.6`

actions/update_dashboard.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ def run(
1717
{
1818
"name": name,
1919
"description": description,
20-
"edit_permissions": edit_permissions,
21-
"share_permissions": share_permissions,
20+
"editPermissions": edit_permissions,
21+
"sharePermissions": share_permissions,
2222
}
2323
)
2424

pack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ keywords:
66
- issues
77
- ticket management
88
- project management
9-
version: 3.0.0
9+
version: 3.0.1
1010
python_versions:
1111
- "3"
1212
author: StackStorm, Inc.

0 commit comments

Comments
 (0)