I need to change the description of an input field as well as need to provide the macro name as "Global Video". Below is my code for atlassian-plugin.xml :
<xhtml-macro name="global video" class="com.kpmg.globalvideo.macro.globalvideo" key='globalvideo-macro'>
<!-- <description key="globalvideo.macro.desc"/> -->
<description key="A multimedia macro that plays video and audio files from KPMG Global Video portal"/>
<category name="formatting"/>
<!-- ## @param MYNAME:title=MY TITLE|type=string|desc=MY DESCRIPTION|required=true|multiple=true|default=MY DEFAULT VALUE -->
<parameters>
<parameter name="URL" type="string" required = "true" desc = "Enter Global Video URL" title ="Enter Global Video URL" >
</parameter>
<!-- ## @param MYNAME:title=MY TITLE|type=string|desc=MY DESCRIPTION|required=true|multiple=true|default=MY DEFAULT VALUE -->
<parameter name="Width" type="string" default = "800px" desc=" IFrame width (Default 800px)" />
<parameter name="Height" type="string" default = "600px" desc = "IFrame height (Default 600px)" />
</parameters>
</xhtml-macro>
1) desc in parameters does not work
2) As you see above I gave parameter name as 'URL' and description as 'Enter Global Video URL' . What I want is the label of the parameter should show 'Enter Global Video URL'. But its showing 'URL'. And I can't provide such big text in parameter name. So what is the way to show the mentioned text as parameter description.
3) Similar problem with Macro name. I want the macro name to be displayed on UI as 'Global Video' but it supports only 'Global video' ( v is in smaller case only). How to solve this?
You might want to ask this question on the developer community:
https://community.developer.atlassian.com/
as you're asking for support while building an app/addon.
I could support you with questions for a user macro with that functionality
Best
JP.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.