Highlights:
Jira Legacy |
---|
server | System JIRA |
---|
serverId | 3d53374a-bb19-35fe-ac23-1e9b72bdf813 |
---|
key | AAM-1093 |
---|
|
Jira Legacy |
---|
server | System JIRA |
---|
serverId | 3d53374a-bb19-35fe-ac23-1e9b72bdf813 |
---|
key | AAM-1103 |
---|
|
Bug fixes:
Jira Legacy |
---|
server | System JIRA |
---|
serverId | 3d53374a-bb19-35fe-ac23-1e9b72bdf813 |
---|
key | AAM-1090 |
---|
|
Jira Legacy |
---|
server | System JIRA |
---|
serverId | 3d53374a-bb19-35fe-ac23-1e9b72bdf813 |
---|
key | AAM-1091 |
---|
|
Tasks:
Jira Legacy |
---|
server | System JIRA |
---|
serverId | 3d53374a-bb19-35fe-ac23-1e9b72bdf813 |
---|
key | AAM-1081 |
---|
|
...
Jira Legacy |
---|
server | System JIRA |
---|
serverId | 3d53374a-bb19-35fe-ac23-1e9b72bdf813 |
---|
key | AAM-1105 |
---|
|
SQL Fixes:
For adding Tag Module
to existing projects
Code Block |
---|
do $$
declare
r record;
sql varchar;
begin
for r in select id from project where archive_initialized = true
loop
execute format('insert into project_system_template values (%L, ''TAG_MODULE'') on conflict do nothing', r.id);
execute format('create table if not exists %s.tag
(
_amid uuid default uuid_generate_v4() not null
unique,
created timestamp,
created_by varchar,
updated timestamp,
updated_by varchar,
id uuid default uuid_generate_v1mc() not null
primary key,
name varchar not null
unique,
description varchar(1000)
)', r.id);
execute format('alter table %s.tag owner to "archive-manager"', r.id);
execute format('create table if not exists %s.tag_mapping
(
_amid uuid default uuid_generate_v4() not null
unique,
created timestamp,
created_by varchar,
updated timestamp,
updated_by varchar,
id uuid default uuid_generate_v1mc() not null
primary key,
tag_id uuid not null
constraint fk_3973b8bc_4b40_4beb_8ef6_456539d2c8ef
references %s.tag
deferrable initially deferred,
object_reference uuid not null,
table_name_reference varchar not null
)', r.id, r.id);
execute format('alter table %s.tag_mapping owner to "archive-manager"', r.id);
execute format('create index if not exists index_3973b8bc_4b40_4beb_8ef6_456539d2c8ef on %s.tag_mapping (tag_id)', r.id);
end loop;
end; $$ |
How to add Tag Module to existing projects
Upgrade to 1.41.0
Go to the asta7 directory and run the following script
View file |
---|
name | asta7-upgrade-1.41.sh |
---|
|
3. Reindex all the projects.
Configuration: