---
title: "TFS4JIRA | How to Obtain WIQL from Azure DevOps query"
canonical: "https://support.appfire.com/space/SUPPORT/383320601/TFS4JIRA%20%7C%20How%20to%20Obtain%20WIQL%20from%20Azure%20DevOps%20query"
format: markdown
---
The below steps should be followed to get the WIQL query in an ADO search.

1. Prepare the WIQL on the ADO.

![image](media://799a9652-b196-435a-bda5-c5d5b08fa835)

2. Click on Inspect the current page.

3. Run the ADO query '▶️ '.

4. Go to the network section.

5. Click on the query line.

6. Go to the payload.

7. Expand the options until you find the WIQL, as shown in the image below.

![image](media://225f1a51-3b7f-4919-bf8a-3286db44504a)

8. Copy the WIQL line.  
For example, the query would be like this:
9. The query to be added to the TFS4JIRA filter should be adjusted, without the `WHERE`, `ORDER BY` and `System.TeamProject` keywords. In our example, the correct query to add would be:

That’s because that part of the query is already filled used the configurations made during the mapping process: 

![image-20240306-141336.png](media://b4dff7d8-f3b6-4064-bc0d-aa3b4705f181)


> ⚠️ Be aware that not all functions work in the TFS4JIRA filter, so this query could help in case you need to obtain field names and the correct way to use them.
> ⚠️ 
> ⚠️ For example, the `[System.Links.LinkType]` does not work in the TFS4JIRA filter.
> ⚠️ 
> ⚠️ ```
> ⚠️ [System.Links.LinkType] = 'System.LinkTypes.Hierarchy-Forward'
> ⚠️ ```