Forums

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

Focus Jira JQL to specific Customer Project provided by Confluence context

Brian Homrich
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 28, 2024

One of our application owners wants to have the Confluence Space determine additional context provided to the Jira link macro,  so that the customer for whom the space is being created becomes part of the JQL query for the issues/tasks being recovered by multiple queries:

The queries will grab a common Category and Label which will be populated in every Jira project:  something like

label = "W1" && category = "Client Task"

and we want to make sure that the Confluence /jira invocation has a project appended (so that the space only shows the issues for that customer/project.

I'd prefer not to hand edit JQL every time.   There are multiple links to the Jira across multiple pages.

Suggestions to "template" the links when the space is templatized?

 

I'd like to do it automatically,  but if I had to do some REST fu between the Confluence and JIRA APIs (find the links and correct the JQL,  in a batch script, for example) that would work temporarily

Thanks!

 

1 answer

0 votes
Lígia Zanchet
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 5, 2024

Hello Brian,

Thank you for posting your question in the community!

Based on your description, it seems like you'd like users to view all the issues matching the JQL label = "W1" AND category = "Client Task" that are linked to a specific Confluence space.

Unfortunately, this isn't directly possible, as the JQL query will return issues from all projects, not just the ones tied to a specific Confluence space.

To achieve what you're aiming for,  need to ensure that the Confluence/Jira integration includes a project filter, so that only issues from a specific customer or project are displayed in the Confluence space.

You will need to keep in mind that users will only see query results from the projects they have access to. If you want to limit what certain users can see, you'll need to configure the appropriate permissions in the Jira Project settings.

I hope this helps!

 

Suggest an answer

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

Atlassian Community Events