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 I put a URL containing a plus into JiraIssues Macro?

Hi all,

I'm currently developing some Python scripts that read issues from Jira, create metrics and write them to Confluence. A part of the Confluence page is that I use Wiki markup to create a Jira filter, as shown here:

{jiraissues:columns=Key;Summary;Status;|url=https://jira.atlassian.com/issues/?jql=SOME_JQL_CONTAINING_A_PLUS}

The problem is if the URL contains a plus I get the following error message:

image.png

I've gone a bit on track and when I open the link I see that the plus (%2B) is replaced by a space (%20 ). I made sure that the URL worked before I passed it to the Confluence REST API.  If I copy the URL from debugging manually to the Confluence page it also works fine. Only if I write the page through the REST API it won't work.  

Any ideas on how to solve this?

 

0 answers

Suggest an answer

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

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

283 views 9 7
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