Can AUI Lozenges be used with custom fields in Jira?

I would like to show the output of a custom field as a coloured Lozenge in a jira issue

1 answer

1 accepted

This widget could not be displayed.

Hey Al,

If it is a Select List custom field, try setting the options as shown in the image attached.

lozenge-field.png

Cheers

Bhushan 

Thanks, Bhushan

I will try this for manual selectors.

I have already tried using that as output from a SIL custom field, set programmatically, but it simply shows the plain text <span> .....</span> in JIRA. It does however show correctly with the lozenge in Confluence jira issue macro. I have this as another question

https://community.atlassian.com/t5/JIRA-questions/How-do-I-get-wiki-rendered-custom-jira-field-to-show-correctly/qaq-p/631449#M208342

 

I didn't get a final answer how to resolve this.

Thanks

Al

So I've not been able to find a solution to outputting a scripted field in JIRA using AUI lozenge. (As I mentioned in the linked thread above, it does work correctly when presented in Confluence using jira issues macro. Note also, that custom read only text field also appears to not work as wanted).

The workaround I've so far had to implement is by using 2 custom fields:

  1. custom SIL field which determines outcome and output can also be set as AIU lozenge for use in Confluence if required.
  2. a Select List (single) which is programmatically set with the other SIL field, for use in JIRA (or confluence).

It's a bit of a pain, and not very efficient, but at least cosmetically gives me what i need. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted 6 hours ago in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

26 views 0 1
Join discussion

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