<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:06:44 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>[METADATA-57] Use UUID for Refering to Material Types</title>
                <link>https://folio-org.atlassian.net/browse/METADATA-57</link>
                <project id="10227" key="METADATA">Metadata</project>
                    <description>&lt;p&gt;As decided in 
    &lt;span class=&quot;jira-issue-macro&quot; data-jira-key=&quot;FOLIO-535&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/FOLIO-535&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;agree on the approach for joining/filtering (single module) associations&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10307?size=medium&quot; /&gt;
            FOLIO-535
        &lt;/a&gt;
                                                    &lt;span class=&quot;aui-lozenge aui-lozenge-subtle aui-lozenge-complete jira-macro-single-issue-export-pdf&quot;&gt;Open&lt;/span&gt;
            &lt;/span&gt;
, any kind of &quot;controlled vocabulary&quot; endpoint should follow a similar scheme.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;CRUDing&lt;/b&gt;&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
GET|POST /cv-items/
GET|PUT|DELETE /cv-items/:uuid
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;b&gt;Associations&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;In the &quot;parent&quot; record (like User or Item) we would include raw UUID/s directly in the associated record, using a scalar UUID field for many-to-one relations (e.g MT) or an array of UUIDs for the many-to-many relations (e.g PG):&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-javascript&quot;&gt;
{
  &lt;span class=&quot;code-quote&quot;&gt;&quot;username&quot;&lt;/span&gt;: &lt;span class=&quot;code-quote&quot;&gt;&quot;shale99&quot;&lt;/span&gt;,
  &lt;span class=&quot;code-quote&quot;&gt;&quot;patron_groups&quot;&lt;/span&gt;: [&lt;span class=&quot;code-quote&quot;&gt;&quot;123-456-789-123&quot;&lt;/span&gt;, &lt;span class=&quot;code-quote&quot;&gt;&quot;345-678-910-111&quot;&lt;/span&gt;]
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The PUT/POST on the record with proper UUID value should allow for updating associations. To get all users/items/etc with a given PG/MT/etc association we will use sarching/filtering.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Searching with CQL&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Search/filter for items with a CV-item should be supported directly on the resource:&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;lastName=&quot;Doe&quot; AND (patron_group == &quot;123-456-789&quot; OR patron_group == &quot;112-113-114&quot;)&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;when constructing facet-like clickable filters on the left-hand side the UI will lookup all CV values (the assumption is that the list is short) and create name-to-uuid map for handling filtering.&lt;/p&gt;

&lt;p&gt;The above sheme should be used for all newly constructed CV-like endpoints.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="78092">METADATA-57</key>
            <summary>Use UUID for Refering to Material Types</summary>
                <type id="10002" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10322?size=medium">New Feature</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:32bb56ac-50e7-4787-b4af-ed3089d9401c">shale99</assignee>
                                                                <reporter accountid="63e2a2771b13d42998e4e706">Marc Johnson</reporter>
                                    <labels>
                            <label>sprint12</label>
                            <label>sprint13</label>
                    </labels>
                <created>Fri, 21 Apr 2017 08:11:00 +0000</created>
                <updated>Wed, 26 Apr 2017 10:37:47 +0000</updated>
                            <resolved>Wed, 26 Apr 2017 09:50:06 +0000</resolved>
                                                    <fixVersion>4.0.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                <comments>
                                                            <comment id="186349" author="5af5ed55244bc90a106063c7" created="Tue, 25 Apr 2017 10:53:28 +0000"  >&lt;p&gt;Assigning this to sprint 13, as, apparently, it&apos;s a blocker to 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;UIU-32&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/UIU-32&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;patron group filter should use the values from the patron group endpoint&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10309?size=medium&quot; /&gt;
            UIU-32
        &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;
 which is in sprint 13.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="61150">STRIPES-287</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="47200">CIRC-3</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="80280">FOLIO-569</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="78093">METADATA-58</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10001">
                    <name>Cloners</name>
                                            <outwardlinks description="clones">
                                        <issuelink>
            <issuekey id="80270">FOLIO-556</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="79440">FOLIO-535</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </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_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|hzxn5j:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 25 Apr 2017 10:53:28 +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>