createissue_jira 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/createissue_jira/version.rb +1 -1
- data/lib/createissue_jira.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 149e36e69be40905e87e0607ce3b669cc4fe4eee55a19226ee647f0f6e73562d
|
4
|
+
data.tar.gz: ff59d92277f004eabb3ff59230208129fc5369458209624a24c8d5291b3286a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: acfe67c2d3d3423f59b0b0c2af8366e298ce1375c5a886fd4e3fca840a627c8c95eb1234960cbbce758f668efcd47125be98db1f555c546427d71069025b338d
|
7
|
+
data.tar.gz: 78d467e1255b4edc50dfe6c76a791e5e1fe5fb0e1de85be8dcd693f3e648199be19f0f0cf1adb7ea6cb9b43e76cf6b46486cd2bf50091975b5c5964da3192c57
|
data/Gemfile.lock
CHANGED
data/lib/createissue_jira.rb
CHANGED
@@ -8,12 +8,14 @@ require 'roo'
|
|
8
8
|
|
9
9
|
module CreateissueJira
|
10
10
|
class Datafile
|
11
|
-
def jira_api_credentials email,base_url
|
11
|
+
def jira_api_credentials email: ,base_url:, jira_api_token:, assignee_id:, acceptance_criteria_id:
|
12
12
|
@base_url = base_url
|
13
13
|
@jira_api_token = jira_api_token
|
14
14
|
@assignee_id = assignee_id
|
15
15
|
@acceptance_criteria_id = acceptance_criteria_id
|
16
16
|
@email = email
|
17
|
+
#2022 - atlassian - jira password updated with api token
|
18
|
+
@auth = "Basic #{Base64.strict_encode64("#{@email + ":" + @jira_api_token}")}"
|
17
19
|
end
|
18
20
|
|
19
21
|
def load_file (file_path, sheet_no, header_name)
|
@@ -85,8 +87,6 @@ module CreateissueJira
|
|
85
87
|
}
|
86
88
|
}
|
87
89
|
|
88
|
-
#2022 - atlassian - jira password updated with api token
|
89
|
-
@auth = "Basic #{Base64.strict_encode64("#{@email + ":" + @jira_api_token}")}"
|
90
90
|
|
91
91
|
response = RestClient.post(
|
92
92
|
"#{@base_url}/rest/api/2/issue/",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: createissue_jira
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SachinPatel
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01-
|
11
|
+
date: 2023-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|