Get Confluence Page Title For Jira Issue/Filter Search
Asked by hanesmedia:

Is it possible to use the JIra Issue/Filter search and use the page title of the confluence page IN the search.

For example, if I have a page titled "Google Chrome", I would like to do a search like this:

```
project = packages AND component = "$Page_Title" ORDER BY updated DESC
```

This way when I duplicate the Google Chrome page and name it Mozilla Firefox the component gets updated and the relevant data gets pulled in from Jira. Right now, for each page I have to manually update the component value.

Thanks!


Answers:
author: Stephen Sifers
body: Hello Danny,

Using JQL to do dynamic searching can be very powerful, but it does have some limitation. Without add-ons, JQL will only allow for the following function references:

* [approved()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-approvedapproved())
* [approver()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-approverapprover())
* [breached()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-breachedbreached())
* [cascadeOption()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-cascadeOptioncascadeOption())
* [closedSprints()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-closedSprintsclosedSprints())
* [completed()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-completedcompleted())
* [componentsLeadByUser()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-componentsLeadByUsercomponentsLeadByUser())
* [currentLogin()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-currentLogincurrentLogin())
* [currentUser()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-currentUsercurrentUser())
* [earliestUnreleasedVersion()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-earliestUnreleasedVersionearliestUnreleasedVersion())
* [elapsed()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-elapsedelapsed())
* [endOfDay()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-endOfDayendOfDay())
* [endOfMonth()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-endOfMonthendOfMonth())
* [endOfWeek()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-endOfWeekendOfWeek())
* [endOfYear()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-endOfYearendOfYear())
* [everbreached()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-everbreachedeverbreached())
* [issueHistory()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-issueHistoryissueHistory())
* [issuesWithRemoteLinksByGlobalId()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-issueHistoryissuesWithRemoteLinksByGlobalId())
* [lastLogin()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-lastLoginlastLogin())
* [latestReleasedVersion()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-latestReleasedVersionlatestReleasedVersion())
* [linkedIssues()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-linkedIssueslinkedIssues())
* [membersOf()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-membersOfmembersOf())
* [myApproval()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-myApprovalmyApproval())
* [myPending()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-approvedmyPending())
* [now()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-nownow())
* [openSprints()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-openSprintsopenSprints())
* [paused()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-pausedpaused())
* [pending()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-approvedpending())
* [pendingBy()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-approvedpendingBy())
* [projectsLeadByUser()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-projectsLeadByUserprojectsLeadByUser())
* [projectsWhereUserHasPermission()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-projectsWhereUserHasPermissionprojectsWhereUserHasPermission())
* [projectsWhereUserHasRole()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-projectsWhereUserHasRoleprojectsWhereUserHasRole())
* [releasedVersions()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-releasedVersionsreleasedVersions())
* [remaining()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-remainingremaining())
* [running()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-runningrunning())
* [standardIssueTypes()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-standardIssueTypesstandardIssueTypes())
* [startOfDay()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-startOfDaystartOfDay())
* [startOfMonth()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-startOfMonthstartOfMonth())
* [startOfWeek()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-startOfWeekstartOfWeek())
* [startOfYear()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-startOfYearstartOfYear())
* [subtaskIssueTypes()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-subtaskIssueTypessubtaskIssueTypes())
* [unreleasedVersions()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-unreleasedVersionsunreleasedVersions())
* [votedIssues()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-votedIssuesvotedIssues())
* [watchedIssues()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-watchedIssueswatchedIssues())
* [withinCalendarHours()](https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-939938733.html#Advancedsearching-withincalendarhourswithinCalendarHours())

What does this mean for you? You will not be able to pass through a Confluence page name as a variable within a JQL statement. In order to do this, you will have to use an add-on that allows for page metadata to be passed through into your Jira issue filter. Here is a [Marketplace Search for JQL](https://marketplace.atlassian.com/search?query=JQL) add-ons.

I hope you find this helpful and it clarifies the out of the box capabilities of the Jira issue filter with JQL.

Regards,  
Stephen Sifers


Tags: confluence-server

jira

server