<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 22:15:49 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>FOLIO Jira</title>
    <link>https://folio-org.atlassian.net</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>1001.0.0-SNAPSHOT</version>
        <build-number>100246</build-number>
        <build-date>07-02-2024</build-date>
    </build-info>

<item>
            <title>[GMU-7] Missing holdings statement causes permanent location to be omitted in the export</title>
                <link>https://folio-org.atlassian.net/browse/GMU-7</link>
                <project id="10243" key="GMU">generate-marc-utils</project>
                    <description>&lt;p&gt;&lt;b&gt;Overview:&lt;/b&gt;&lt;br/&gt;
 &#160;When a holdings record doesn&apos;t have a holdings statement, the permanent location is not included in the export if both properties were mapped in the mapping profile to the same field but different subfields, if holdings statement&#160; subfield proceeds permanent location subfield.&#160; The problem doesn&apos;t occur if the properties are mapped to the different MARC fields.&lt;br/&gt;
 &#160;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Steps to Reproduce:&lt;/b&gt;&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Create a mapping profile that includes Source record storage and holdings.&#160; Include holding statement and permanent location in the same field starting with holding statement.&#160; Bugfest example of the mapping profile: &lt;a href=&quot;https://bugfest-juniper.folio.ebsco.com/settings/data-export/mapping-profiles/view/a9d51730-7f1b-4350-a278-e7bece3cda33?sort=-updated%2Cname&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://bugfest-juniper.folio.ebsco.com/settings/data-export/mapping-profiles/view/a9d51730-7f1b-4350-a278-e7bece3cda33?sort=-updated%2Cname&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;Create a job profile that is associated with the mapping profile from the prior step. Bugfest example of the job profile:&#160; &lt;a href=&quot;https://bugfest-juniper.folio.ebsco.com/settings/data-export/job-profiles/view/755e736a-3236-494b-b3cf-a455b2a670b8?sort=name&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://bugfest-juniper.folio.ebsco.com/settings/data-export/job-profiles/view/755e736a-3236-494b-b3cf-a455b2a670b8?sort=name&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;Start export using the job profile&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;&lt;b&gt;Expected Results:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Specified in the mapping profile field is always present, even if holding statement is not populated in the record&lt;br/&gt;
 &lt;b&gt;Actual Results:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;If the holding statement is missing, the field is not a part of the export, even if the permanent location is there.&#160;&#160;&lt;/p&gt;


&lt;p&gt; &lt;b&gt;Additional Information:&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Attaching file used to trigger the export and the file generated by the export.&lt;/li&gt;
	&lt;li&gt;If the fields are mapped to separate files the record is exported as expected&lt;/li&gt;
	&lt;li&gt;I tried with other fields combination (call number for example) and the behavior is as expected as well&lt;/li&gt;
	&lt;li&gt;With the reversed order of the subfield the behavior is also as expected.&#160;&lt;br/&gt;
 URL: &lt;br/&gt;
 &lt;b&gt;Interested parties:&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="78839">GMU-7</key>
            <summary>Missing holdings statement causes permanent location to be omitted in the export</summary>
                <type id="10001" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10303?size=medium">Bug</type>
                                            <priority id="10002" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p3.svg">P3</priority>
                        <status id="6" iconUrl="https://folio-org.atlassian.net/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10003">Done</resolution>
                                                        <assignee accountid="712020:ab17d861-5e82-4377-ad0b-0eaa18112edb">Oleksandr Bozhko</assignee>
                                                                <reporter accountid="557058:8629b273-56f1-466d-b7c7-5cbac0c3379b">Magda Zacharska</reporter>
                                    <labels>
                    </labels>
                <created>Thu, 15 Jul 2021 20:59:54 +0000</created>
                <updated>Fri, 19 May 2023 23:48:29 +0000</updated>
                            <resolved>Thu, 19 Aug 2021 19:40:10 +0000</resolved>
                                                    <fixVersion>1.3.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                                                            <comment id="187611" author="5ae37e92babc232defd95bc5" created="Tue, 20 Jul 2021 19:03:59 +0000"  >&lt;p&gt;This issue affects Skidmore College.&#160; I have not tried it on records which have a holdings statement, but no location as we don&apos;t seem to have such records.&lt;/p&gt;</comment>
                                                            <comment id="187612" author="712020:ab17d861-5e82-4377-ad0b-0eaa18112edb" created="Thu, 19 Aug 2021 06:18:31 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A8629b273-56f1-466d-b7c7-5cbac0c3379b&quot; class=&quot;user-hover&quot; rel=&quot;557058:8629b273-56f1-466d-b7c7-5cbac0c3379b&quot; data-account-id=&quot;557058:8629b273-56f1-466d-b7c7-5cbac0c3379b&quot; accountid=&quot;557058:8629b273-56f1-466d-b7c7-5cbac0c3379b&quot; rel=&quot;noreferrer&quot;&gt;Magda Zacharska&lt;/a&gt; , the result has been verified on &lt;a href=&quot;https://folio-testing.dev.folio.org/&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://folio-testing.dev.folio.org&lt;/a&gt; environment:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Find any instances with holdings, but without holdings statements. For example: &lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;/rest/api/3/attachment/content/63704&quot; title=&quot;instances_with_holdings_and_no_holdings_statements.csv attached to GMU-7&quot; data-attachment-type=&quot;file&quot; data-attachment-name=&quot;instances_with_holdings_and_no_holdings_statements.csv&quot; data-media-services-type=&quot;file&quot; data-media-services-id=&quot;3482974f-57c2-42ac-9e21-afafd91722e2&quot; rel=&quot;noreferrer&quot;&gt;instances_with_holdings_and_no_holdings_statements.csv&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
	&lt;li&gt;Go to Settings -&amp;gt; Data export -&amp;gt; Field mapping profiles -&amp;gt; New and create (or use existing) field mapping profile. In this profile we use the same field (866) for both of holdings statements and permanent location (subfields are different):&lt;/li&gt;
	&lt;li&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;63702_thumb&quot; href=&quot;/rest/api/3/attachment/content/63702&quot; title=&quot;field_mapping_profile.PNG&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;63702&quot; file-preview-title=&quot;field_mapping_profile.PNG&quot;&gt;&lt;jira-attachment-thumbnail url=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/63702?default=false&quot; jira-url=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/63702&quot; filename=&quot;field_mapping_profile.PNG&quot;&gt;&lt;img src=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/63702&quot; data-attachment-name=&quot;field_mapping_profile.PNG&quot; data-attachment-type=&quot;thumbnail&quot; data-media-services-id=&quot;26d47db2-9a33-4113-80e7-15909c60a6d6&quot; data-media-services-type=&quot;file&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/jira-attachment-thumbnail&gt;&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
	&lt;li&gt;Go to Settings -&amp;gt; Data export -&amp;gt; Job profiles -&amp;gt; New and create (or use existing) job profile:&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;/rest/api/3/attachment/content/63705&quot; title=&quot;job_profile.PNG attached to GMU-7&quot; data-attachment-type=&quot;file&quot; data-attachment-name=&quot;job_profile.PNG&quot; data-media-services-type=&quot;file&quot; data-media-services-id=&quot;46b9f8e1-81b1-4358-a2af-512f86168423&quot; rel=&quot;noreferrer&quot;&gt;job_profile.PNG&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
	&lt;li&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;63705_thumb&quot; href=&quot;/rest/api/3/attachment/content/63705&quot; title=&quot;job_profile.PNG&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;63705&quot; file-preview-title=&quot;job_profile.PNG&quot;&gt;&lt;jira-attachment-thumbnail url=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/63705?default=false&quot; jira-url=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/63705&quot; filename=&quot;job_profile.PNG&quot;&gt;&lt;img src=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/63705&quot; data-attachment-name=&quot;job_profile.PNG&quot; data-attachment-type=&quot;thumbnail&quot; data-media-services-id=&quot;46b9f8e1-81b1-4358-a2af-512f86168423&quot; data-media-services-type=&quot;file&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/jira-attachment-thumbnail&gt;&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
	&lt;li&gt;Go to Data export -&amp;gt; select &lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;/rest/api/3/attachment/content/63704&quot; title=&quot;instances_with_holdings_and_no_holdings_statements.csv attached to GMU-7&quot; data-attachment-type=&quot;file&quot; data-attachment-name=&quot;instances_with_holdings_and_no_holdings_statements.csv&quot; data-media-services-type=&quot;file&quot; data-media-services-id=&quot;3482974f-57c2-42ac-9e21-afafd91722e2&quot; rel=&quot;noreferrer&quot;&gt;instances_with_holdings_and_no_holdings_statements.csv&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;file and run the job (for example, 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;GMU-7&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/GMU-7&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Missing holdings statement causes permanent location to be omitted in the export&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10303?size=medium&quot; /&gt;
            GMU-7
        &lt;/a&gt;
                                                    &lt;span class=&quot;aui-lozenge aui-lozenge-subtle aui-lozenge-success jira-macro-single-issue-export-pdf&quot;&gt;Closed&lt;/span&gt;
            &lt;/span&gt;
):&lt;/li&gt;
	&lt;li&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;63706_thumb&quot; href=&quot;/rest/api/3/attachment/content/63706&quot; title=&quot;select_job_profile.PNG&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;63706&quot; file-preview-title=&quot;select_job_profile.PNG&quot;&gt;&lt;jira-attachment-thumbnail url=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/63706?default=false&quot; jira-url=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/63706&quot; filename=&quot;select_job_profile.PNG&quot;&gt;&lt;img src=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/63706&quot; data-attachment-name=&quot;select_job_profile.PNG&quot; data-attachment-type=&quot;thumbnail&quot; data-media-services-id=&quot;db16d8f7-3db4-4783-8b54-16641a26949c&quot; data-media-services-type=&quot;file&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/jira-attachment-thumbnail&gt;&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
	&lt;li&gt;Open the completed job and check the result (&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;/rest/api/3/attachment/content/63703&quot; title=&quot;instances_with_holdings_and_no_holdings_statements-6.mrk attached to GMU-7&quot; data-attachment-type=&quot;file&quot; data-attachment-name=&quot;instances_with_holdings_and_no_holdings_statements-6.mrk&quot; data-media-services-type=&quot;file&quot; data-media-services-id=&quot;b66c04c4-e985-4e95-902d-0330cb0b52bd&quot; rel=&quot;noreferrer&quot;&gt;instances_with_holdings_and_no_holdings_statements-6.mrk&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;):&lt;/li&gt;
	&lt;li&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;63701_thumb&quot; href=&quot;/rest/api/3/attachment/content/63701&quot; title=&quot;actual_result.PNG&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;63701&quot; file-preview-title=&quot;actual_result.PNG&quot;&gt;&lt;jira-attachment-thumbnail url=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/63701?default=false&quot; jira-url=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/63701&quot; filename=&quot;actual_result.PNG&quot;&gt;&lt;img src=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/63701&quot; data-attachment-name=&quot;actual_result.PNG&quot; data-attachment-type=&quot;thumbnail&quot; data-media-services-id=&quot;369bdb25-80fd-480e-8363-12ad96ef5921&quot; data-media-services-type=&quot;file&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/jira-attachment-thumbnail&gt;&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
	&lt;li&gt;As you can see, if there is a holdings permanent location, field 866 is present in the marc record with the correct subfield $z even if there is no holdings statements.&lt;/li&gt;
&lt;/ol&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10008">
                    <name>Defines</name>
                                            <outwardlinks description="defines">
                                        <issuelink>
            <issuekey id="12050">UXPROD-3030</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="63699" name="SearchInstanceUUIDs2021-07-12T17_46_27-04_00-7262.mrc" size="2843" author="557058:8629b273-56f1-466d-b7c7-5cbac0c3379b" created="Fri, 16 Jul 2021 01:40:11 +0000"/>
                            <attachment id="63700" name="SearchInstanceUUIDs2021-07-12T17_46_27-04_00.csv" size="77" author="557058:8629b273-56f1-466d-b7c7-5cbac0c3379b" created="Fri, 16 Jul 2021 01:40:11 +0000"/>
                            <attachment id="63701" name="actual_result.PNG" size="104168" author="712020:ab17d861-5e82-4377-ad0b-0eaa18112edb" created="Thu, 19 Aug 2021 06:02:09 +0000"/>
                            <attachment id="63702" name="field_mapping_profile.PNG" size="35414" author="712020:ab17d861-5e82-4377-ad0b-0eaa18112edb" created="Thu, 19 Aug 2021 06:02:09 +0000"/>
                            <attachment id="63703" name="instances_with_holdings_and_no_holdings_statements-6.mrk" size="890" author="712020:ab17d861-5e82-4377-ad0b-0eaa18112edb" created="Thu, 19 Aug 2021 06:02:09 +0000"/>
                            <attachment id="63704" name="instances_with_holdings_and_no_holdings_statements.csv" size="77" author="712020:ab17d861-5e82-4377-ad0b-0eaa18112edb" created="Thu, 19 Aug 2021 05:54:42 +0000"/>
                            <attachment id="63705" name="job_profile.PNG" size="11661" author="712020:ab17d861-5e82-4377-ad0b-0eaa18112edb" created="Thu, 19 Aug 2021 06:02:09 +0000"/>
                            <attachment id="63706" name="select_job_profile.PNG" size="39653" author="712020:ab17d861-5e82-4377-ad0b-0eaa18112edb" created="Thu, 19 Aug 2021 06:02:09 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummarycf">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10057" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Development Team</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10152"><![CDATA[Firebird]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10063" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>PO Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|hzx2wh:03</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="320">Firebird Sprint 121</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10044" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 20 Jul 2021 19:03:59 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10025" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>[CHART] Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>