Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Structure: How to use an image as wiki markup in a column?

we want to display a traffic light in a column on an IF condition. The three traffic lights (red, green, yellow) are located as an jpg image on a public Confluence page.

Example of a condition for a traffic light:

IF(itemtype = 'folder' and search("Error (New)"; summary) and issue = 0;

Link to the corresponding traffic light:
https://confluence.example.com/download/attachments/125151914/trafficrot.jpg?api=v2

or

https://confluence.example.com/download/attachments/125151914/trafficrot.jpg

How do I make it show the image and not the link to the image? Thanks.

2 answers

Hi Jochen,

EDIT: Unfortunately this does not work anymore.  This relies on the underlying Jira markup, which was updated, and no longer supports images.  This answer has more info https://community.atlassian.com/t5/Jira-questions/How-to-embed-images-by-URL-in-new-Markdown-Jira-editor/qaq-p/1126329

Original answer for old Jira markup:

You can include an image in wiki markup.  The syntax is like this:

![some alt text](http://www.example.com/path/image.jpg)

 For other related information about wiki markup you can check the documentation here https://www.markdownguide.org/basic-syntax

Cheers,
Nick
[ALM Works]

I can't get it to work in my Structure like this:

 

IF(itemtype = 'folder' and search("Fehler (Neu)"; summary) and issue > 0;![some alt text](http://www.example.com/path/image.jpg); itemtype = 'folder' and search("Ideen (Neu)"; summary) and issue >= 5;"{panel:bgColor=#C70039}{color:white}STAU{color}{panel}"; itemtype = 'folder' and search("Backlog (PRIO)"; summary) and issue > 0;"{panel:bgColor=#ADFF2F}PRIO{panel}"; itemtype = 'folder' and search("Backlog (PRIO)"; summary) and issue >= 10;"{panel:bgColor=#C70039}{color:white}PRIO-STAU{color}{panel}")

Hi Jochen,

All wiki markup is a string to be parsed.  You simply need to quote the value, so this:

![some alt text](http://www.example.com/path/image.jpg)

becomes

"![some alt text](http://www.example.com/path/image.jpg)"

Apologies for not mentioning that.

Also it looks like you are still using my example link.  That does not link to a real image so you will probably want to use your confluence URL instead of example.com to verify this works.

Cheers,
Nick
[ALM Works]

sorry, it just does not work. But I am also a real layman and may not understand you correctly.
Try it with column, formula and Wiki markup

IF(itemtype = 'folder' and search("Error (New)"; summary) and issue > 0;"![some alt text](https://confluence.mycompanyname.com/download/attachments/125151914/trafficrot.jpg)")

the resiult in column Ampel:


![some alt text]![some alt text][some alt text](https://confluence.mycompanyname/download/attachments/125151914/trafficrot.jpg)

https is a link and when you run it, the graphic is displayed in a new edge tab...but not in the column...we have structure 6.6

I give up

Or somebody find my mistake...good luck, thanks

Drop us a line at support@almworks.com and reference this thread, @Jochen Berdi.

We’ll get this sorted out.  

-dave 

Hi, @Jochen Berdi. I think it would be easier to help you diagnose the issue if we could take a look at your entire formula. Will you share your formula with us here? 

If you prefer, you can contact the ALM Works support team for assistance via support@almworks.com

-dave [ALM Works]   

Hi Dave,

we have a column Ampel in our structure (first picture support.jpg). It currently contains the following formula:
IF(itemtype = 'folder' and search("Fehler (Neu)"; summary) and issue > 0;"{panel:bgColor=#C70039}{color:white}BUGS{color}{panel}";itemtype = 'folder' and search("Requirement (New)"; summary) and issue < 5;"{panel:bgColor=#ADFF2F}IDEE{panel}";
itemtype = 'folder' and search("Ideas (New)"; summary) and issue >= 5;"{panel:bgColor=#C70039}{color:white}STAU{color}{panel}";
itemtype = 'folder' and search("Backlog (PRIO)"; summary) and issue > 0;"{panel:bgColor=#ADFF2F}PRIO{panel}";
itemtype = 'folder' and search("Backlog (PRIO)"; summary) and issue >= 10;"{panel:bgColor=#C70039}{color:white}PRIO-STAU{color}{panel}")

The Issue query checks the value in the Issues column (number).

Now we want to replace the part panel by calling an image and I don't know how to do that. The image is on a Confluence page as an attachment and has the link (company address changed to example): https://confluence.example.com/download/attachments/125151914/trafficgreen.gif?api=v2

What must be after the IF conditions, so that the GIF file is displayed. The column Ampel is defined as Wiki Markup...IF(itemtype = 'folder' and search("Error (New)"; summary) and issue > 0; ????here we need help???? Support.JPGtrafficgreen.gif

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

236 views 7 7
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you