redmine_remotes 0.11.1 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/redmine_remotes/tableless/remote_issue_fetch/base/_local_issue.rb +7 -1
- data/lib/redmine_remotes/esosti/entities/issue.rb +8 -0
- data/lib/redmine_remotes/esosti/instance.rb +4 -0
- data/lib/redmine_remotes/jira/entities/issue.rb +4 -0
- data/lib/redmine_remotes/jira/instance.rb +4 -0
- data/lib/redmine_remotes/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70c4977d8154fa08f7d03093a35dc948c5bd78639a2a2ce42352e58c5d737050
|
4
|
+
data.tar.gz: 8c56794c3633be3b5e731800025a61a73a8df6e17c50776a87790659e0b3235d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 546876674ce5856dacf18ed183ddca546dcbdbe2ae17ede908b2512e18af12512f9fd8449d829a82105c654994f62a6a01589c42a2b7e055f5e94a64a182cec2
|
7
|
+
data.tar.gz: 2e821818b0294b9e8b889612666a7a10c0eb494abe661743bc8f9122ca741285364aea93e679bb30068b73c9aec7f53aa25f1c1e96b95a0ba2d887199509c280
|
@@ -59,7 +59,13 @@ module RedmineRemotes
|
|
59
59
|
end
|
60
60
|
|
61
61
|
def local_issue_description
|
62
|
-
|
62
|
+
<<~DESCRIPTION
|
63
|
+
#{provider_issue.description}
|
64
|
+
|
65
|
+
----
|
66
|
+
|
67
|
+
_Demanda remota importada de #{provider_issue.human_view_url}._
|
68
|
+
DESCRIPTION
|
63
69
|
end
|
64
70
|
end
|
65
71
|
end
|
@@ -6,6 +6,10 @@ module RedmineRemotes
|
|
6
6
|
module Esosti
|
7
7
|
module Entities
|
8
8
|
class Issue < ::Avmtrf1::Esosti::Entities::Issue
|
9
|
+
def human_view_url
|
10
|
+
instance.issue_human_view_url(uid)
|
11
|
+
end
|
12
|
+
|
9
13
|
def author_login
|
10
14
|
attributes.fetch('CREATEDBY').if_present { |v| v.gsub(/@[^@]+\z/, '') }
|
11
15
|
end
|
@@ -39,6 +43,10 @@ module RedmineRemotes
|
|
39
43
|
def subject
|
40
44
|
attributes.fetch('DESCRIPTION')
|
41
45
|
end
|
46
|
+
|
47
|
+
def uid
|
48
|
+
attributes.fetch('TICKETUID').fetch('content')
|
49
|
+
end
|
42
50
|
end
|
43
51
|
end
|
44
52
|
end
|
@@ -21,6 +21,10 @@ module RedmineRemotes
|
|
21
21
|
def issue_get_url_suffix(provider_issue_id)
|
22
22
|
"/os/MS_RMTICKET/?ticketid=#{provider_issue_id}"
|
23
23
|
end
|
24
|
+
|
25
|
+
def issue_human_view_url(ticket_uid)
|
26
|
+
"#{root_url}/itsm/ui/maximo.jsp?event=loadapp&value=ms_viewsr&uniqueid=#{ticket_uid}"
|
27
|
+
end
|
24
28
|
end
|
25
29
|
end
|
26
30
|
end
|