How to get start and end dates of a sprint using jira api?


Below url is giving all the information except start and end dates of a sprint .

<a href="http://jira.example.com/rest/api/2/search?fields=assignee,key,summary,worklog,timeoriginalestimate,aggregatetimespent,&jql=project=BLAH+AND+sprint=57" rel="nofollow">http://jira.example.com/rest/api/2/search?fields=assignee,key,summary,worklog,timeoriginalestimate,aggregatetimespent,&jql=project=BLAH+AND+sprint=57</a>


Assuming you're a recent version of JIRA and JIRA Software, you can use the <a href="https://docs.atlassian.com/jira-software/REST/server/#agile/1.0" rel="nofollow">JIRA Agile REST API's</a>.

Interesting REST API resources are:

<a href="https://docs.atlassian.com/jira-software/REST/server/#agile/1.0/issue-getIssue" rel="nofollow">Get Issue</a>: GET /rest/agile/1.0/issue/{issueIdOrKey}<br /> The output of this resource will also include the agile fields and the sprint name and its id, e.g.:

... "sprint": { "id": 37, "self": "http://www.example.com/jira/rest/agile/1.0/sprint/13", "state": "future", "name": "sprint 2" }, ...

<a href="https://docs.atlassian.com/jira-software/REST/server/#agile/1.0/sprint-getSprint" rel="nofollow">Get Sprint</a>: GET /rest/agile/1.0/sprint/{sprintId} The output of this resource include the sprint start and end dates, e.g.:

{ "id": 37, "self": "http://www.example.com/jira/rest/agile/1.0/sprint/23", "state": "closed", "name": "sprint 1", "startDate": "2015-04-11T15:22:00.000+10:00", "endDate": "2015-04-20T01:22:00.000+10:00", "completeDate": "2015-04-20T11:04:00.000+10:00", "originBoardId": 5 }

The docs may also contain other useful resources for you.


  • Openshift Connect To MySQL From Local Java Application
  • JSONObject how to change value depend on key value? [closed]
  • Jira Python: Syntax error appears when trying to print
  • How do I run multiple requests in a batch?
  • Ant tasks for JIRA
  • Mongo count really slow when there are millions of records
  • pagecontainer #change - JqueryMobile - Phonegap
  • Spring boot and Jira REST API give dependency errors in maven
  • How to get start and end dates of a sprint using jira api?
  • C# MongoDB Driver Ignores timeout options
  • How to handle null values when writing to parquet from Spark
  • JQL to get blocked Issues
  • maven-war-plugin ignores
  • JIRA 4.1.2: Is there a different workflow that Jira follows when submitting via web services?
  • Use grep to match and erase a pattern in a large chunck of text
  • What is the best strategy to extract information from a JIRA issue?
  • Parsing xml with StAX: not getting a large content tag
  • How do I simulate “Wish List” and “Bug List” in JIRA workflow?
  • Invoking REST API for making new component in JIRA
  • How to update a generic type with MongoDB C# driver in MongoDB 2.7
  • cassandra 2.0.4 Unable to initialize MemoryMeter
  • PyCharm SQL Language Injection support
  • Jenkins and SSL certificates
  • Getting a blank file when accessing JIRA on SSL
  • how to deal with the serial port in android mobile?
  • AS2 .swf loadmovie() and unloadmovie() fail when nested inside an AS3 .swf container
  • Use MongoDB array as stack
  • ELMAH: Can you set it up to email errors only remotely?
  • R h2o.glm - issue with max_active_predictors
  • Does Apportable support to build library binary (.a/.so)?
  • Jenkins: FATAL: Could not initialize class hudson.util.ProcessTree$UnixReflection
  • Why Encoding.ASCII != ASCIIEncoding.Default in C#?
  • Switching to Release Build causes runtime error in Web Reference
  • Is calc() supported in html email?
  • Can I have the cursor start on a particular column by default in jqgrid's edit mode?
  • Rearranging Cells in UITableView Bug & Saving Changes
  • QuartzCore.framework for Mono Develop
  • Circular dependency while pushing http interceptor
  • Linker errors when using intrinsic function via function pointer
  • FormattedException instead of throw new Exception(string.Format(…)) in .NET