how to change the prompt words in attachment section

hitmania December 10, 2024

hi all:

  I have a local-deployed jira server, and I want to change the prompt words in attachment section, like this, replace words in red box or add some words some where in this sectionSnap2.jpg

how can i do, Thanks you all

1 answer

1 accepted

0 votes
Answer accepted
Stefan Stadler
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 11, 2024

Hi @hitmania 

the words in there are automatically filled based on the user language chosen for Jira. It will be changed, if you update the preferences in your user profile.

That way, each user can change the language according to their needs.

Besides doing some scripting, I am not aware of how to modify this text any further.

If the above does not answer your question, could you please let us know your use case for this requirement?

Thanks

Stefan

hitmania December 11, 2024

hi sefan:

  thanks for your answering, I just want show users some warning slogan to avoid  uploading harmful attachment, add some picture here is also ok

 

Stefan Stadler
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 11, 2024

Hi @hitmania 

in that case, I can see two ways of achieving this.

a) I am not sure about images, but if you just want to add some text to the description, you may want to change the description of the Attachments fields in the field configuration. This will be displayed right below the field and has no impact on the field itself. The description understands markdown, but it does not interpret images as it should be. See this as an example:

Screenshot 2024-12-12 082107.png

I used the following description text: 

_This is some sample description_
![Some image](/rest/insight/1.0/icon/104/icon.png?size=64)

b) create a ScriptRunner fragment, which could be used right below the Attachment field. This allows you the entire freedom, but is also much more complex compared to option a.

Hope this helped :)

Stefan

hitmania January 7, 2025

 @Stefan Stadler , Thank you so much , I've finish it by custom field plugin, I insert a custom banner field to show the caution message.

HAPPY NEW YEAR!

 

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.7
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events