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
4,367,637
Community Members
 
Community Events
168
Community Groups

Best practice to save images used by the scripted custom field

Edited

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?

Thanks,

Anche

 

 

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
TAGS

Atlassian Community Events