Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Converting JQL to get a list of stories worked on during a time window using the Jira API

Hi,

I have a JQL query I use in Jira I'd like to convert to a Jira API call.

Having gone through the API documentation, I can't see how I might easily achieve this, and would appreciate any advice. 

I want to get the list of stories that have a changed to a given status in a given time window. The JQL is as follows:

  issuetype in (Story, Bug, Release)

  and status changed to ( "In development",  "In Code review", "In testing")

  during ("2021/03/01", now())

I have tried   GET /rest/api/3/worklog/updated, but this doesn't seem to work. 

Any advice greatly appreciated.

2 answers

Hi @Darryl Blackwell -- Welcome to the Atlassian Community!

I am using Cloud version, but I found this documentation on JQL searches using the server REST API.  Please check if that helps you.

https://developer.atlassian.com/server/jira/platform/jira-rest-api-examples/#searching-for-issues-examples

 

Best regards,

Bill

Hi @Darryl Blackwell ,

You can pass jql as parameter to the search rest api below /rest/api/2/search?jql={yourJQL}

https://docs.atlassian.com/software/jira/docs/api/REST/7.6.1/#api/2/search-search

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you