How do I get the current page title in my page without a line feed?

I created a User Macro to get the current page title, as described here:

 It works, but it adds a line feed before the title.  How can I prevent that line feed?

To expand on my goal, I'm using the SQL Query macro to pull data from a database based on the current page name.  When I add my macro inside the SQL Query macro, the page name has a line feed in it.




2 answers

This widget could not be displayed.

Is there no way to do this?



This widget could not be displayed.

Hi @Scott Genevish,


Can you please raise a request in our support portal and provide us the code which you used for your user macro and well as the storage format of the page which you are facing the issue as it will be helpful for us to further troubleshoot the issue.



Vijay Ramamurthy

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday 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...

172 views 1 3
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