Forums

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

How to get created date information using jql

Tanya Awasthi November 21, 2018

https://"cloud instance"/rest/api/2/search?jql=project="project name"+AND+issuetype=bug+AND+created="2018/10/24%2002:25"+order+by+id&fields=key,created

In the above mentioned jql i have passed the date and time but i am still not able to get any results .

Queries

1. How to pass a date in this jql ?

 

1 answer

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 21, 2018

Hello,

You query should look like this:

project%20%3D%20%22project%20name%22%20AND%20issuetype%3Dbug%20AND%20created%3D%222018%2F10%2F24%202%3A25%22%20order%20by%20id

Tanya Awasthi November 21, 2018

Sorry i did not understand this clearly. Can you clarify this?

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 21, 2018

It means that you have to take your JQL query like it looks in Jira and then encode it. Signs like spaces, <,> etc must be changed with the codes. 

Each programming language has its own functions to encode strings.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events