Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Jira Legacy
serverSystem Jira
columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId01505d01-b853-3c2e-90f1-ee9b165564fc
keyMODDICORE-347

...

  • Update mapping rules for the classification field to adjust punctuation handling for contributor name.

Script for updating such mapping: 

Jira Legacy
serverSystem Jira
columnIdsissuekey,summary,issuetype,created,updated,duedate,assignee,reporter,priority,status,resolution
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId01505d01-b853-3c2e-90f1-ee9b165564fc
keyMODDICORE-355

Steps:

  1. If library tenant is using default mapping rules with NO changes (no customizations), then call PUT  /mapping-rules/marc-bib/restore endpoint
  2. If library tenant is using default mapping rules, WITH changes (local customization), then follow the next step
    1. Send a GET request to /mapping-rules/marc-bib to retrieve the mapping rules
    2. Under 100, 110, 111, 700, 710, 711, 720 fields update rule for contributor name (section where target = "contributors.name") for the "type" property replace "trim_period, trim" value with "trim_punctuation" value

      before changes:

      Code Block
      languagejs
      collapsetrue
      "rules": [
        {
          "conditions": [
            {
              "type": "trim_period, trim"
            }
          ]
        }
      ]


      after changes:

      Code Block
      collapsetrue
      "rules": [
        {
          "conditions": [
            {
              "type": "trim_punctuation"
            }
          ]
        }
      ]  


    3. Send PUT request to /mapping-rules/marc-bib and put in the body the updated JSON

Note, that the array of the section for "720" field contains three "type" properties so the value for each of them should be updated.

...