Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

"Jira Work Item" element shows URL rather than number if result = 1

paul_moloney
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 7, 2025

I have a number of Confluence pages used to track projects which use the Jira Work Item element.

To show the number of JIRA tickets of a certain type/status/etc, I set the element to Inline. When you have 0, or more than 1 item, this element shows the number of matching JIRA tickets. 

However, when there is only one matching JIRA ticket, it shows the full URL of the corresponding ticket.

Is there a way to force this element to show the number of JIRA tickets when it is 1?

P. 

2 answers

0 votes
paul_moloney
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 8, 2025

Hi there, 

Here is an example configuration; the element is to be displayed as an "Inline link", and JQL is used:

project=ENT AND "fixVersion" = "Corda 4.13" AND Status = Done

 image.png


In this case, the specified JQL query returns six issues, and the result looks like this, as expected:

image.png
However, if the query only returns one result, then rather than see "1 issue(s)", you instead see the URL of the single issue:

image.png
Also, after this, the JQL query of the element can no longer be edited. If you edit the element, you instead can only change the URL of the single issue. 

Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 8, 2025

Hi @paul_moloney 

This could be a Bug.

Might be worth to create an Atlassian Support issue and have them evaluate this.

0 votes
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 7, 2025

HI @paul_moloney 

Welcome to the community.

Could you provide some more context by providing screenshots or the configuration of the macro

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events