<!-- 
RSS generated by JIRA (9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b) at Mon Feb 12 05:00:29 CET 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 append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Magnolia - Issue tracker</title>
    <link>https://jira.magnolia-cms.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-uk</language>    <build-info>
        <version>9.4.2</version>
        <build-number>940002</build-number>
        <build-date>19-01-2023</build-date>
    </build-info>


<item>
            <title>[MGNLDAM-503] option to get url for an asset in dam</title>
                <link>https://jira.magnolia-cms.com/browse/MGNLDAM-503</link>
                <project id="10660" key="MGNLDAM">Magnolia DAM Module</project>
                    <description>&lt;p&gt;Requirement: get the &lt;del&gt;public&lt;/del&gt; URL to an asset (image, document) in DAM.&lt;/p&gt;

&lt;p&gt;Use cases:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Use an image in external page such as in an email.&lt;/li&gt;
	&lt;li&gt;Feed document URLs to a search engine to index the document content.&lt;/li&gt;
	&lt;li&gt;Feed a DAM folder URL to a search engine to index the content of documents in that folder.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Obstacles today:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Today there is no easy way to get link to an asset. I want to do this directly in the Assets app. There should be a way to copy the asset link to the clipboard when browsing assets and when previewing an asset.&lt;/li&gt;
	&lt;li&gt;Even if you remove &quot;.imaging/portrait&quot;, cache extension and add &quot;jcr:&quot; in front of uuid in the current URL you cannot get a link because the uuid is different.&lt;/li&gt;
	&lt;li&gt;The Download asset action is not a button you could right-click and copy the link. It&apos;s just a &amp;lt;span&amp;gt; probably handled by Vaadin. The image preview in Edit asset dialog is something else with a different URL which includes &quot;...APP/connector...&quot;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;To work around the requirement I had to create new page and put there download links to my asset and then copy URLs from this page. I don&apos;t think so that this is most user friendly option :/ &lt;/p&gt;

&lt;p&gt;Only to be able copy link from &quot;download asset&quot; button will be enough &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.magnolia-cms.com/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;br/&gt;
thnx&lt;/p&gt;</description>
                <environment></environment>
        <key id="40240">MGNLDAM-503</key>
            <summary>option to get url for an asset in dam</summary>
                <type id="2" iconUrl="https://jira.magnolia-cms.com/secure/viewavatar?size=xsmall&amp;avatarId=10891&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="6" iconUrl="https://jira.magnolia-cms.com/images/icons/priorities/neutral.gif">Neutral</priority>
                        <status id="1" iconUrl="https://jira.magnolia-cms.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="ahietala">Antti Hietala</assignee>
                                    <reporter username="tgregovsky">Tom&#225;&#353; Gregovsk&#253;</reporter>
                        <labels>
                            <label>blocked</label>
                    </labels>
                <created>Wed, 20 Aug 2014 17:16:22 +0200</created>
                <updated>Tue, 23 Aug 2022 14:21:24 +0200</updated>
                                            <version>2.0.2</version>
                                                        <due></due>
                            <votes>1</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="140642" author="mgeljic" created="Thu, 16 Mar 2017 17:08:55 +0100"  >&lt;p&gt;From &lt;tt&gt;DamDownloadServlet&lt;/tt&gt; Javadoc:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;This servlet supports the following link patterns:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;/dam/jcr:7ecd4045-45a0-4c81-b2b6-f4c4b0cd24ad/&amp;lt;whatever, this is ignored anyway&amp;gt;&lt;/li&gt;
	&lt;li&gt;/dam/static:7ecd4045-45a0-4c81-b2b6-f4c4b0cd24ad (compatible with dms)&lt;/li&gt;
	&lt;li&gt;/dam/foo/bar/lol.pdf (compatible with dam 1.x)&lt;/li&gt;
	&lt;li&gt;/dam/jcr/foo/bar/lol.pdf (so /dam/&amp;lt;provider-id&amp;gt;/&amp;lt;path&amp;gt;.ext: we ignore .ext and ensure that the corresponding provider is a &lt;tt&gt;PathAwareProvider&lt;/tt&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

&lt;p&gt;The latter might be of interest to you &lt;a href=&quot;https://jira.magnolia-cms.com/secure/ViewProfile.jspa?name=tgregovsky&quot; class=&quot;user-hover&quot; rel=&quot;tgregovsky&quot;&gt;tgregovsky&lt;/a&gt; &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.magnolia-cms.com/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; Is it perhaps a problem of documentation or are there any shortcomings with that?&lt;/p&gt;

&lt;p&gt;While we&apos;re at it (cc &lt;a href=&quot;https://jira.magnolia-cms.com/secure/ViewProfile.jspa?name=pmundt&quot; class=&quot;user-hover&quot; rel=&quot;pmundt&quot;&gt;pmundt&lt;/a&gt;, &lt;a href=&quot;https://jira.magnolia-cms.com/secure/ViewProfile.jspa?name=ejervidalo&quot; class=&quot;user-hover&quot; rel=&quot;ejervidalo&quot;&gt;ejervidalo&lt;/a&gt;), I just realized the &lt;tt&gt;DamDownloadServlet&lt;/tt&gt; is mapped to /dam, which got me curious about URI2Repo mappings... Turns out the dam one is still there (also mapped to /dam fwiw), but it will simply never be called.&lt;br/&gt;
Ever since DAM 2.0, the servlet is the way to go, as it&apos;s provider-agnostic, but we should decommission the &lt;tt&gt;DamURI2RepositoryMapping&lt;/tt&gt; then.&lt;/p&gt;</comment>
                            <comment id="140981" author="tgregovsky" created="Thu, 23 Mar 2017 14:18:05 +0100"  >&lt;p&gt;originally I just wanted to see a direct url of an asset (in dam) which I can copy paste without having to write (copy paste parts of it and build) url by myself... I can do it, but editors can&apos;t in case they need direct link to an asset.&lt;/p&gt;

&lt;p&gt;(maybe optionally only if asset is published and with prefix to public instance - so I will have full public url)&lt;/p&gt;

&lt;p&gt;But on suggestion above I am fan of third one (&apos;/dam/foo/bar/lol.pdf&apos;) ...&lt;/p&gt;</comment>
                            <comment id="140994" author="ahietala" created="Thu, 23 Mar 2017 15:00:22 +0100"  >&lt;p&gt;Let&apos;s start by providing a user action to copy the &lt;b&gt;relative&lt;/b&gt; asset path in a human-readable format. Getting an absolute public URL requires knowing the defaultBaseUrl of the relevant &lt;b&gt;public&lt;/b&gt; instance, which might be difficult to impossible to resolve in a multisite setup that has multiple public instances and various domains. The author who wants to copy the asset URL is typically working on an author instance that has a different defaultBaseUrl. &lt;/p&gt;

&lt;p&gt;Next steps:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;In Assets browser subapp:
	&lt;ul&gt;
		&lt;li&gt;Add a new &quot;Copy asset URL&quot; action in the action bar.&lt;/li&gt;
		&lt;li&gt;Place the action below the &quot;Download asset&quot; action.&lt;/li&gt;
		&lt;li&gt;Use the &lt;tt&gt;icon-link&lt;/tt&gt; &lt;a href=&quot;https://documentation.magnolia-cms.com/display/DOCS/Icons&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;icon&lt;/a&gt; for the action.&lt;/li&gt;
		&lt;li&gt;When the user clicks the action, resolve a relative path to the selected asset such as &lt;tt&gt;/dam/jcr/foo/bar/lol.pdf&lt;/tt&gt; using the DamDownloadServlet.&lt;/li&gt;
		&lt;li&gt;The action should only be available for single selection, not multiple assets.&lt;/li&gt;
		&lt;li&gt;Copy the URL to the clipboard.&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;In Assets detail subapp:
	&lt;ul&gt;
		&lt;li&gt;Add a new field &quot;URL&quot; in the asset details, above the Identifier field.&lt;/li&gt;
		&lt;li&gt;Display the relative path in the field.&lt;/li&gt;
		&lt;li&gt;Help text: &quot;A relative path to the asset. To get a public URL, add the address of your public instance at the beginning of the path.&quot;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;Validate UX.&lt;/li&gt;
	&lt;li&gt;Validate language.&lt;/li&gt;
&lt;/ul&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10020">
                    <name>dependency</name>
                                            <outwardlinks description="depends upon">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="38806" name="copy-url-action.png" size="251813" author="mgeljic" created="Fri, 31 Mar 2017 16:18:08 +0200"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_14166" key="com.okapya.jira.checklist:checklist">
                        <customfieldname>Acceptance criteria</customfieldname>
                        <customfieldvalues>
                            
        <checklist>
        <![CDATA[
                            




                
                                    <div class="o-completion" style="display: flex; flex-shrink: 0;"><span  class="aui-lozenge aui-lozenge-complete" style="font-size: 12px; font-weight: normal; display: flex; flex-direction: row; align-items: center;" ><span style="padding-right: 4px; vertical-align: middle;"><svg width="15" height="15" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg" fill="white"><path clip-rule="evenodd" d="m10.41037,3.42544l-7.86501,0c-0.72395,0 -1.31084,0.58688 -1.31084,1.31084l0,7.86508c0,0.7239 0.58689,1.3108 1.31084,1.3108l7.86501,0c0.724,0 1.3109,-0.5869 1.3109,-1.3108l0,-7.86508c0,-0.72396 -0.5869,-1.31084 -1.3109,-1.31084zm-7.86501,-0.65542c-1.08593,0 -1.96626,0.88032 -1.96626,1.96626l0,7.86508c0,1.0859 0.88033,1.9662 1.96626,1.9662l7.86501,0c1.086,0 1.9663,-0.8803 1.9663,-1.9662l0,-7.86508c0,-1.08594 -0.8803,-1.96626 -1.9663,-1.96626l-7.86501,0z" fill-rule="evenodd"/><path d="m5.09049,10.18526l-1.82767,-1.82766l-0.78479,0.78479l2.61246,2.61246l5.38758,-5.38754l-0.78483,-0.78479l-4.60275,4.60274z"/></svg></span><span>Empty</span></span></div>
                        ]]>
    </checklist>


                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10111" key="com.atlassian.jira.toolkit:reporterdomain">
                        <customfieldname>Company</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>magnolia-cms.com</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10031" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 26 Jul 2016 09:18:58 +0200</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_12730" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_14151" key="com.atlassian.jira.toolkit:message">
                        <customfieldname>Docu info</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10246" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>DEV-601</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10061" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comm is not jira-dev</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>false</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10071" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last participant</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ldelnevo</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_13136" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            6 years, 47 weeks, 3 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10020" key="com.atlassian.jira.toolkit:attachments">
                        <customfieldname>Number of attachments</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10150" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname>Number of comments</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>ahietala</customfieldvalue>
            <customfieldvalue>mgeljic</customfieldvalue>
            <customfieldvalue>tgregovsky</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_10833" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|hzzzq1:zr520ezxz8idzy0003wl920ux50i</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10244" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>21266</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10242" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12430" key="com.atlassian.teams:rm-teams-custom-field-team">
                        <customfieldname>Team</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[25]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_14145" key="com.intenso.jira.issue-templates:issue-templates-customfield">
                        <customfieldname>Template</customfieldname>
                        <customfieldvalues>
                            


                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_15131" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Time in Discovery</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>