File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ func main() {
36
36
37
37
tp := jira.BasicAuthTransport {
38
38
Username : strings .TrimSpace (username ),
39
- Password : strings .TrimSpace (password ),
39
+ APIToken : strings .TrimSpace (password ),
40
40
}
41
41
42
42
client , err := jira .NewClient (strings .TrimSpace (jiraURL ), tp .Client ())
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ func main() {
27
27
28
28
tp := jira.BasicAuthTransport {
29
29
Username : strings .TrimSpace (username ),
30
- Password : strings .TrimSpace (password ),
30
+ APIToken : strings .TrimSpace (password ),
31
31
}
32
32
33
33
client , err := jira .NewClient (strings .TrimSpace (jiraURL ), tp .Client ())
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ func main() {
34
34
35
35
tp := jira.BasicAuthTransport {
36
36
Username : strings .TrimSpace (username ),
37
- Password : strings .TrimSpace (password ),
37
+ APIToken : strings .TrimSpace (password ),
38
38
}
39
39
40
40
client , err := jira .NewClient (strings .TrimSpace (jiraURL ), tp .Client ())
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ func main() {
39
39
40
40
ba := jira.BasicAuthTransport {
41
41
Username : strings .TrimSpace (username ),
42
- Password : strings .TrimSpace (password ),
42
+ APIToken : strings .TrimSpace (password ),
43
43
}
44
44
tp = ba .Client ()
45
45
}
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ func main() {
32
32
33
33
tp := jira.BasicAuthTransport {
34
34
Username : strings .TrimSpace (username ),
35
- Password : strings .TrimSpace (password ),
35
+ APIToken : strings .TrimSpace (password ),
36
36
}
37
37
38
38
client , err := jira .NewClient (strings .TrimSpace (jiraURL ), tp .Client ())
You can’t perform that action at this time.
0 commit comments