Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

How can Jira filter present Jira issues URL with the macro format?

Hi,

 

I am trying to display a table in confluence that is based on a Jira filter.

I am trying to create a situation where I am adding an issue URL and would like that confluence will display that URL in the nice macro format macro (the same as pasting URL directly in confluence and it is turned to that macro).

How can I do that?

 

Thanks in advance

3 answers

Hi @Rony Len 

Have you tried using the Jira Issue Filter Macro?  That is what it does. Shows a table of issues based on a filter you have saved.  

OR you can simply type in the Issue Key XXXX-9999 and have it automatically link (without you adding the URL to the actual issue). To set this up in Confluence do the following: 

  1. Click Space Settings
  2. Click the tab Integrations
  3. Click Add Link (right side of the page) and enter in the key of your Jira project. 

 

-Mike

I have a text field that in the Jira issue I am pasting other issues' URLs.

when I use that text field in Jira issue/filter in confluence the pasted URLs in the text field content does not change to that macro format.

I would like to have the results of that Jira issue/filter transformed to the macro format.

Hi @Rony Len 

Can you show me what you are doing through a screenshot? 

HI @Mike Bowen 

Enclosed is a sample.

scroll all the way to the right - under column scope.

scope is a text field in which I am pasting URLs of Jira tickets.

when adding this field to a table as such in confluence I would like it to appear as the macro with updating status and the subject of the ticket (and not as URL).

PRM capture.PNG

Hi @Rony Len 

Okay, I think I understand, but apologies if this answer is not it.

I was able to replicate what you have done using the following steps. I am assuming you are a Jira Administrator as you will need to be in order to achieve these results. 

  1. Click Jira Settings, Issues, Custom Fields.
  2. Top right click Add Custom Field.
  3. Select a field type - I picked URL Field (Allow the user to input a single URL). Click Next. 
  4. Associate the URL Field with some screens by checking the Screen boxes. Click Update at the bottom. 
  5. Still in Custom Fields, search for your URL Field and click on the 3 dots and select Configure.
  6. Under default configuration - Applicable contexts for - click Edit Configuration.
  7. Under Choose application issue types, you can either select the Issue Type you want to link your URL Field to or select Any Issue Type. 
  8. Likewise under Applicable Context choose between Global context (all projects) or pick the projects. 
  9. Click Modify if you are making changes. 
  10. Go to Jira Service Desk and edit an existing ticket. 
  11. Click Configure Fields and add URL Field to your screen view (it might already be there). 
  12. Copy the URL at the top of the page and paste into the URL field. 

Jira ticket.png

In Confluence

  1. Insert Jira/Issue Filter to the page. 
  2. Select your saved filter.
  3. Click on Display Options at the bottom 
  4. Under Columns to display add your custom field 'URL Field'
  5. Click Insert
  6. Publish the page. 
  7. Jira Filter is displayed with your Custom Field.

Jira Issue Filter with Custom Field URL Field.png

-Mike

Thank you for that explanation @Mike Bowen 

I wanted the text field or URL field to display as the macro - I meant in this format:

PRM capture.PNGand not to be displayed as URL.

Hi @Rony Len 

Okay, I know what you mean, and I would say what you want is not possible.

However you could copy a blank JIRA macro into every row of your table and simple paste in the RBO-3580 or RBO-3581 into the filter space and press enter. When you see the Key and Summary click on Insert. The result will be what you are showing. This works for both classic and New Gen pages.

But it is not going to create the JIRA Macro automatically if you paste in a text URL. 

 

Jira Macro 2.png

The result on the page you see the following: 

Jira macro 1.png

-Mike

I understand, not the solution I was hoping for

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

408 views 23 8
Join discussion

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