jira-auto-tool 1.3.4 → 1.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f585efc6f556f70d603d48cb3d87754d121299140f736b38a594875306fa3836
|
|
4
|
+
data.tar.gz: d35243d8d55207a2d03ffc9ef47b5d9d835cc35dfacb1f04b11a1fc5a6b9c6a9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4ffaf6e285be81ddb606075183fa29e5a28ff9946746aee01357ea3146866ec9814ce7832e0f63c8f2a93da261eb0f1290c58e4731666bc00e5e4b103678be79
|
|
7
|
+
data.tar.gz: b04116a07b38334f260855b113297e378f6dc60d91417d81bf42f6c6664bc14ba118d4fa47837f4b26b6e7b15b38b77aa4b1c07a4fdfb0555e3e510a7ea26105
|
data/Rakefile
CHANGED
|
@@ -39,12 +39,12 @@ module Jira
|
|
|
39
39
|
def each_issue_type_field
|
|
40
40
|
tool.jira_client.Createmeta.all({ projectKeys: project.key, "expand" => "projects.issuetypes.fields" })
|
|
41
41
|
.each do |createmeta|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
42
|
+
createmeta.attrs["issuetypes"].each do |issue_type|
|
|
43
|
+
issue_type_name = issue_type["name"]
|
|
44
|
+
issue_type["fields"].each_value do |field|
|
|
45
|
+
yield(issue_type_name, field)
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
48
|
end
|
|
49
49
|
end
|
|
50
50
|
|
|
@@ -32,8 +32,8 @@ module Jira
|
|
|
32
32
|
def request_payload
|
|
33
33
|
attributes = sprint.attrs.symbolize_keys
|
|
34
34
|
|
|
35
|
-
ATTRIBUTES_TO_INCLUDE_FOR_STATE_UPDATE.
|
|
36
|
-
|
|
35
|
+
ATTRIBUTES_TO_INCLUDE_FOR_STATE_UPDATE.to_h do |key|
|
|
36
|
+
[key, attributes[key]]
|
|
37
37
|
end
|
|
38
38
|
.merge({ state: new_state })
|
|
39
39
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jira-auto-tool
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Christophe Broult
|
|
@@ -399,7 +399,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
399
399
|
- !ruby/object:Gem::Version
|
|
400
400
|
version: '0'
|
|
401
401
|
requirements: []
|
|
402
|
-
rubygems_version: 4.0.
|
|
402
|
+
rubygems_version: 4.0.9
|
|
403
403
|
specification_version: 4
|
|
404
404
|
summary: Automate making adjustments to Jira sprints for multiple teams following
|
|
405
405
|
some naming conventions.
|