<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 22:33:13 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>[MODCFIELDS-42] Custom Field: Field Format Validation</title>
                <link>https://folio-org.atlassian.net/browse/MODCFIELDS-42</link>
                <project id="10226" key="MODCFIELDS">mod-customfields</project>
                    <description>&lt;p&gt;As a librarian &lt;br/&gt;
I want custom fields to support field validation and format &lt;br/&gt;
So that the values entered display properly &lt;/p&gt;

&lt;h4&gt;&lt;a name=&quot;Requirements&quot;&gt;&lt;/a&gt;Requirements &lt;/h4&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;If custom field input type = text field then allow a user to specify field validation and display format&lt;/li&gt;
	&lt;li&gt;Field name: Field Format&lt;/li&gt;
	&lt;li&gt;Input type: Single select dropdown (can only select one value)&lt;/li&gt;
	&lt;li&gt;Field Format Options: Text, Email address, URL, Number&lt;/li&gt;
	&lt;li&gt;Field Format Option Default: Text&lt;/li&gt;
	&lt;li&gt;Text selection is the default and does not change the current behavior of the text field&lt;/li&gt;
	&lt;li&gt;Email Address selection allows the value to display as an email address. The email address must contain one @ symbol followed by at least one character AND then followed by a period to be valid&lt;/li&gt;
	&lt;li&gt;URL selection allows the value to display as an URL. The URL value must contain http:// or https:// at the beginning to be valid&lt;/li&gt;
	&lt;li&gt;Number selection allows the value to display as a Number. The Number value must contain numbers, commas, white spaces, decimals to be valid&lt;/li&gt;
	&lt;li&gt;&lt;b&gt;&lt;font color=&quot;red&quot;&gt;May need to review for more rules&lt;/font&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;h4&gt;&lt;a name=&quot;Acceptancecriteria&quot;&gt;&lt;/a&gt;Acceptance criteria &lt;/h4&gt;
&lt;p&gt;Given user creates a custom field input type = Text field&lt;br/&gt;
When &lt;b&gt;Field Format: Text&lt;/b&gt; is selected &lt;br/&gt;
Then characters entered and saved on the Create/Edit/View record display as text on the record and are no different from current text field UI record display&lt;/p&gt;


&lt;p&gt;Given user creates a custom field input type = Text field&lt;br/&gt;
When &lt;b&gt;Field Format: Number&lt;/b&gt; is selected &lt;br/&gt;
AND 1234 or 23,000 is entered&lt;br/&gt;
Then Create/Edit/View record displays as number on the record &lt;/p&gt;

&lt;p&gt;Given user creates a custom field input type = Text field&lt;br/&gt;
When &lt;b&gt;Field Format: Number&lt;/b&gt; is selected &lt;br/&gt;
AND non-numeric characters are entered (2354#4$)&lt;br/&gt;
With the exception of white space , decimal, comma &lt;br/&gt;
Then Create/Edit record should display an inline error message &lt;span class=&quot;error&quot;&gt;&amp;#91;Field can only accept numeric, white space, decimal, and commas characters. Please revise.&amp;#93;&lt;/span&gt;&lt;br/&gt;
AND not allow the value to be saved.&lt;/p&gt;



&lt;p&gt;Given user creates a custom field input type = Text field&lt;br/&gt;
When &lt;b&gt;Field Format: URL&lt;/b&gt; is selected &lt;br/&gt;
AND http:// or https:// are the first characters entered &lt;br/&gt;
Then Create/Edit/View record displays as URL on the record &lt;/p&gt;

&lt;p&gt;Given user creates a custom field input type = Text field&lt;br/&gt;
When &lt;b&gt;Field Format: URL&lt;/b&gt; is selected &lt;br/&gt;
AND http:// or https:// are NOT the first characters entered &lt;br/&gt;
Then Create/Edit record should display an inline error message &lt;span class=&quot;error&quot;&gt;&amp;#91;URL is not formatted properly. Please revise.&amp;#93;&lt;/span&gt;&lt;br/&gt;
AND not allow the value to be saved.&lt;/p&gt;

&lt;p&gt;Given user creates a custom field input type = Text field&lt;br/&gt;
When &lt;b&gt;Field Format: Email address&lt;/b&gt; is selected &lt;br/&gt;
AND contains one @ symbol followed by at least one character AND then followed by a period t(e.g. kgambrell@ebsco.com)&lt;br/&gt;
Then Create/Edit/View record displays that value as an email address &lt;/p&gt;

&lt;p&gt;Given user creates a custom field input type = Text field&lt;br/&gt;
When &lt;b&gt;Field Format: Email address&lt;/b&gt; is selected &lt;br/&gt;
BUT does not contain one @ symbol followed by at least one character AND then followed by a period (e.g. kgambrellebscocom)&lt;br/&gt;
Then Create/Edit record should display an inline error message &lt;span class=&quot;error&quot;&gt;&amp;#91;Email address is not formatted properly. Please revise.&amp;#93;&lt;/span&gt;&lt;br/&gt;
AND not allow the value to be saved.&lt;/p&gt;

&lt;p&gt;Given user creates a custom field input type = Text field&lt;br/&gt;
When &lt;b&gt;Field Format: Email address&lt;/b&gt; is selected &lt;br/&gt;
BUT does not contain at least one character after the @ symbol (e.g. kgambrell@)&lt;br/&gt;
Then Create/Edit record should display an inline error message &lt;span class=&quot;error&quot;&gt;&amp;#91;Email address is not formatted properly. Please revise.&amp;#93;&lt;/span&gt;&lt;br/&gt;
AND not allow the value to be saved.&lt;/p&gt;

&lt;p&gt;Given user creates a custom field input type = Text field&lt;br/&gt;
When &lt;b&gt;Field Format: Email address&lt;/b&gt; is selected &lt;br/&gt;
BUT does not contain a period after the character(s) after the @ symbol (e.g. kgambrell@ebscocom)&lt;br/&gt;
Then Create/Edit record should display an inline error message &lt;span class=&quot;error&quot;&gt;&amp;#91;Email address is not formatted properly. Please revise.&amp;#93;&lt;/span&gt;&lt;br/&gt;
AND not allow the value to be saved.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="78069">MODCFIELDS-42</key>
            <summary>Custom Field: Field Format Validation</summary>
                <type id="10005" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10309?size=medium">Story</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="5eb44b5a96bbcb0b8585c98d">Pavlo Smahin</assignee>
                                                                <reporter accountid="62a96ae7192edb006f9f1bf9">Khalilah Gambrell</reporter>
                                    <labels>
                            <label>back-end</label>
                            <label>epam-spitfire</label>
                    </labels>
                <created>Wed, 7 Aug 2019 20:41:10 +0000</created>
                <updated>Thu, 25 Jun 2020 16:34:34 +0000</updated>
                            <resolved>Thu, 25 Jun 2020 16:34:34 +0000</resolved>
                                                    <fixVersion>1.4.1</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                                                            <comment id="186276" author="5e8c99cbf135980b7bd6d120" created="Wed, 10 Jun 2020 06:33:01 +0000"  >&lt;p&gt;email address: instead of the asterisk it should be the @ character being required Some characters are not allowed in an email address (e.g. brackets) and behind the @ the must be at least one character and then a period can follow.&lt;/p&gt;</comment>
                                                            <comment id="186277" author="62a96ae7192edb006f9f1bf9" created="Wed, 10 Jun 2020 10:44:32 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5e8c99cbf135980b7bd6d120&quot; class=&quot;user-hover&quot; rel=&quot;5e8c99cbf135980b7bd6d120&quot; data-account-id=&quot;5e8c99cbf135980b7bd6d120&quot; accountid=&quot;5e8c99cbf135980b7bd6d120&quot; rel=&quot;noreferrer&quot;&gt;Uschi Klute&lt;/a&gt;, you are right. I do not know why I wrote asterisk &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;. Revising the story now.&lt;/p&gt;</comment>
                                                            <comment id="186278" author="5eb44b5a96bbcb0b8585c98d" created="Tue, 23 Jun 2020 10:03:28 +0000"  >&lt;p&gt;Number formats:&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;
Formats:	Examples:
00000		12345
-00000		-12345
#,0000		0,1234 | ,1234 | 1,234
#.0000		0.1234 | .1234 | 1.234
-#,0000		-0,1234 | -,1234 | -1,234
-#.0000		-0.1234 | -.1234 | -1.234
0 000 000	1 234 567 | 1 234
0,000,000	1,234,567 | 1,234
0,000.000	1,234.567 | 1,234,567.89
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                                                            <comment id="186279" author="5eb44b5a96bbcb0b8585c98d" created="Wed, 24 Jun 2020 13:32:30 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=62a96ae7192edb006f9f1bf9&quot; class=&quot;user-hover&quot; rel=&quot;62a96ae7192edb006f9f1bf9&quot; data-account-id=&quot;62a96ae7192edb006f9f1bf9&quot; accountid=&quot;62a96ae7192edb006f9f1bf9&quot; rel=&quot;noreferrer&quot;&gt;Khalilah Gambrell&lt;/a&gt;&lt;br/&gt;
Should we have ability to update field format after field was created. If yes, what we have to do with already assigned values to records?&lt;/p&gt;</comment>
                                                            <comment id="186280" author="62a96ae7192edb006f9f1bf9" created="Wed, 24 Jun 2020 13:45:44 +0000"  >&lt;p&gt;Good point, &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5eb44b5a96bbcb0b8585c98d&quot; class=&quot;user-hover&quot; rel=&quot;5eb44b5a96bbcb0b8585c98d&quot; data-account-id=&quot;5eb44b5a96bbcb0b8585c98d&quot; accountid=&quot;5eb44b5a96bbcb0b8585c98d&quot; rel=&quot;noreferrer&quot;&gt;Pavlo Smahin&lt;/a&gt;. Cannot change it once field has been created. &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10007">
                    <name>Requires</name>
                                                                <inwardlinks description="is required by">
                                        <issuelink>
            <issuekey id="11366">UXPROD-2289</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_10057" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Development Team</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10180"><![CDATA[Spitfire]]></customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="867">eHoldings Sprint 91</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>Wed, 10 Jun 2020 06:33:01 +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>