<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:24:07 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>[FOLIO-2904] write loan cleanup script for bugfest</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-2904</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;Loan data in bugfest needs to be purged in order for the system to continue to be operational. Write a NodeJS script that performs the following operations: &lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;check in all outstanding loans (this will clear patron blocks due to items aged to lost; it will also generate &lt;em&gt;lots&lt;/em&gt; of fee/fines records)&lt;/li&gt;
	&lt;li&gt;transfer all outstanding fee/fine records (this will close all open fee/fines)&lt;/li&gt;
	&lt;li&gt;cancel all Page requests with request status Open- Not yet filled&lt;/li&gt;
	&lt;li&gt;anonymize all closed loans&lt;/li&gt;
	&lt;li&gt;delete all closed fee/fines&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;It must take the following parameters in order to be configurable so it can be used to purge data in any environment: &lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;--username &amp;lt;u&amp;gt;&lt;/li&gt;
	&lt;li&gt;--password &amp;lt;p&amp;gt;&lt;/li&gt;
	&lt;li&gt;--tenant &amp;lt;t&amp;gt;&lt;/li&gt;
	&lt;li&gt;--okapi &amp;lt;http...&amp;gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Interested parties: &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5cffed1a5d548b0c51d6b19b&quot; class=&quot;user-hover&quot; rel=&quot;5cffed1a5d548b0c51d6b19b&quot; data-account-id=&quot;5cffed1a5d548b0c51d6b19b&quot; accountid=&quot;5cffed1a5d548b0c51d6b19b&quot; rel=&quot;noreferrer&quot;&gt;Anton Emelianov&lt;/a&gt;, &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Aa957226f-df85-4fc8-97f4-8b27a26029ed&quot; class=&quot;user-hover&quot; rel=&quot;557058:a957226f-df85-4fc8-97f4-8b27a26029ed&quot; data-account-id=&quot;557058:a957226f-df85-4fc8-97f4-8b27a26029ed&quot; accountid=&quot;557058:a957226f-df85-4fc8-97f4-8b27a26029ed&quot; rel=&quot;noreferrer&quot;&gt;Holly Mistlebauer&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="81861">FOLIO-2904</key>
            <summary>write loan cleanup script for bugfest</summary>
                <type id="10003" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium">Task</type>
                                            <priority id="10005" iconUrl="https://dev.folio.org/assets/jira-priority/tbd.svg">TBD</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="615afd1cd9820f0070a09ef0">Zak Burke</assignee>
                                                                <reporter accountid="615afd1cd9820f0070a09ef0">Zak Burke</reporter>
                                    <labels>
                    </labels>
                <created>Tue, 8 Dec 2020 19:37:36 +0000</created>
                <updated>Mon, 25 Jan 2021 20:38:50 +0000</updated>
                            <resolved>Thu, 7 Jan 2021 17:54:16 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                <comments>
                                                            <comment id="197804" author="615afd1cd9820f0070a09ef0" created="Thu, 7 Jan 2021 12:12:23 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Aa957226f-df85-4fc8-97f4-8b27a26029ed&quot; class=&quot;user-hover&quot; rel=&quot;557058:a957226f-df85-4fc8-97f4-8b27a26029ed&quot; data-account-id=&quot;557058:a957226f-df85-4fc8-97f4-8b27a26029ed&quot; accountid=&quot;557058:a957226f-df85-4fc8-97f4-8b27a26029ed&quot; rel=&quot;noreferrer&quot;&gt;Holly Mistlebauer&lt;/a&gt;, &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5cffed1a5d548b0c51d6b19b&quot; class=&quot;user-hover&quot; rel=&quot;5cffed1a5d548b0c51d6b19b&quot; data-account-id=&quot;5cffed1a5d548b0c51d6b19b&quot; accountid=&quot;5cffed1a5d548b0c51d6b19b&quot; rel=&quot;noreferrer&quot;&gt;Anton Emelianov&lt;/a&gt;, the script is complete but cannot delete closed fees/fines due to 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;MODFEE-151&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/MODFEE-151&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;permissions for DELETE /accounts/{id} are missing/incorrect&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;
            MODFEE-151
        &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;/p&gt;

&lt;p&gt;How would you like me to proceed? Should I run this script now, should somebody else (who?), should we wait until 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;MODFEE-151&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/MODFEE-151&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;permissions for DELETE /accounts/{id} are missing/incorrect&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;
            MODFEE-151
        &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;
 is resolved? &lt;/p&gt;</comment>
                                                            <comment id="197805" author="615afd1cd9820f0070a09ef0" created="Thu, 7 Jan 2021 17:57:31 +0000"  >&lt;p&gt;Actually, now that I think about this, 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;MODFEE-151&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/MODFEE-151&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;permissions for DELETE /accounts/{id} are missing/incorrect&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;
            MODFEE-151
        &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;
 is a bug in the module, meaning we&apos;ll need to update the mod-feesfines version running on bugfest in order for it to work. The alternative is to grant the necessary (not-supposed-to-be-granted-to-a-user) perm directly to the user running the script.&lt;/p&gt;

&lt;p&gt;FYI, there is no harm in running the script multiple times, so we could run it now and it&apos;ll clean up everything it can until it dies during the last step. And if we update the module later, or change the permissions for the user the script runs as, it&apos;ll clean up everything (if new loans, requests, etc., have been created) and then clean up all the closed accounts too. &lt;/p&gt;

&lt;p&gt;Anyway, PR is merged, so I&apos;m closing this as done. &lt;/p&gt;</comment>
                                                            <comment id="197808" author="557058:a957226f-df85-4fc8-97f4-8b27a26029ed" created="Tue, 19 Jan 2021 22:29:11 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=615afd1cd9820f0070a09ef0&quot; class=&quot;user-hover&quot; rel=&quot;615afd1cd9820f0070a09ef0&quot; data-account-id=&quot;615afd1cd9820f0070a09ef0&quot; accountid=&quot;615afd1cd9820f0070a09ef0&quot; rel=&quot;noreferrer&quot;&gt;Zak Burke&lt;/a&gt;:  I have asked Anton about the permission issue, but he needed to check with someone else.  &lt;/p&gt;</comment>
                                                            <comment id="197809" author="5cffed1a5d548b0c51d6b19b" created="Fri, 22 Jan 2021 16:18:46 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=615afd1cd9820f0070a09ef0&quot; class=&quot;user-hover&quot; rel=&quot;615afd1cd9820f0070a09ef0&quot; data-account-id=&quot;615afd1cd9820f0070a09ef0&quot; accountid=&quot;615afd1cd9820f0070a09ef0&quot; rel=&quot;noreferrer&quot;&gt;Zak Burke&lt;/a&gt; and &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Aa957226f-df85-4fc8-97f4-8b27a26029ed&quot; class=&quot;user-hover&quot; rel=&quot;557058:a957226f-df85-4fc8-97f4-8b27a26029ed&quot; data-account-id=&quot;557058:a957226f-df85-4fc8-97f4-8b27a26029ed&quot; accountid=&quot;557058:a957226f-df85-4fc8-97f4-8b27a26029ed&quot; rel=&quot;noreferrer&quot;&gt;Holly Mistlebauer&lt;/a&gt; I asked BugFest devops to help. They will create a copy of Honeysuckle environment and we should be able to tests scripts there. I&apos;ll let you know when it is ready for test execution and data verification.&lt;/p&gt;</comment>
                                                            <comment id="197811" author="615afd1cd9820f0070a09ef0" created="Fri, 22 Jan 2021 17:39:44 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5cffed1a5d548b0c51d6b19b&quot; class=&quot;user-hover&quot; rel=&quot;5cffed1a5d548b0c51d6b19b&quot; data-account-id=&quot;5cffed1a5d548b0c51d6b19b&quot; accountid=&quot;5cffed1a5d548b0c51d6b19b&quot; rel=&quot;noreferrer&quot;&gt;Anton Emelianov&lt;/a&gt;: possibly less effort than copying honeysuckle: attached is the script (&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;/rest/api/3/attachment/content/64333&quot; title=&quot;mkitem attached to FOLIO-2904&quot; data-attachment-type=&quot;file&quot; data-attachment-name=&quot;mkitem&quot; data-media-services-type=&quot;file&quot; data-media-services-id=&quot;5e2f63e1-703b-4ca3-8970-6ba46cb80b6e&quot; rel=&quot;noreferrer&quot;&gt;mkitem&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;) I used to create a few hundred items and loans when I was testing the script myself. The data won&apos;t be very diverse, though you could run it a few times with different users I guess. Hardcode the barcode to a patron from a particular group, or use a particular material type, to create a loan policy with a short window to cause overdue fees to accumulate quickly. &lt;/p&gt;

&lt;p&gt;This would let us create a bunch of loans in, say, folio-testing-core and folks can test there. &lt;/p&gt;</comment>
                                                            <comment id="197813" author="557058:a957226f-df85-4fc8-97f4-8b27a26029ed" created="Mon, 25 Jan 2021 18:22:03 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5cffed1a5d548b0c51d6b19b&quot; class=&quot;user-hover&quot; rel=&quot;5cffed1a5d548b0c51d6b19b&quot; data-account-id=&quot;5cffed1a5d548b0c51d6b19b&quot; accountid=&quot;5cffed1a5d548b0c51d6b19b&quot; rel=&quot;noreferrer&quot;&gt;Anton Emelianov&lt;/a&gt;:  I am assuming you want to copy Honeysuckle and have us test there first so that we don&apos;t make a mess of the real data.  That makes sense to me.  &lt;img class=&quot;emoticon&quot; src=&quot;/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt; &lt;/p&gt;</comment>
                                                            <comment id="197816" author="5cffed1a5d548b0c51d6b19b" created="Mon, 25 Jan 2021 20:38:50 +0000"  >&lt;p&gt;my plan exactly&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="69336">MODFEE-151</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="64333" name="mkitem" size="2169" author="615afd1cd9820f0070a09ef0" created="Fri, 22 Jan 2021 17:38:51 +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="10171"><![CDATA[Prokopovych]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02327:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="891">Prokopovych - Sprint 105</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, 19 Jan 2021 22:29:11 +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>