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?

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published yesterday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

72 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you