Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Best practice to save images used by the scripted custom field


Hi all,

I have a custom scripted field (created using ScriptRunner plugin)., which shows an image based on the user selection for other two custom fields. 

Currently, I have saved those images as attachments to a Jira, and I'm accessing it in my script with URL (e.g. yellowurl = "https://xyz/secure/attachment/18002/amber_light.png").

Is there a better way to save this image in the Jira, other than attaching to an existing Jira item?





1 answer

Can anyone suggest a better way to save the custom images in Jira?

I did it in a v2 plugin where the image file is a resource. More trouble to maintain than accessing the image as an attachment

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events