Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,362,526
Community Members
 
Community Events
168
Community Groups

How to get ticket created date using API

Below is the json payload am using .  how get the "issue created  date" 

{
  "jql""project = \"XXXXX\" AND summary ~ 'offboard' AND description ~ 'XXXX' ",
  "maxResults"100,
   "fieldsByKeys"true,
  "fields": [
    "createdDate",
    "summary",
    "description"
      ],
  "startAt"0
}

2 answers

Hi @Seetharaman Kumarakrishnan , welcome on the community.

You need to include "created" field. So the JSON should look like


{

"jql": "project = \"XXXXX\" AND summary ~ 'offboard' AND description ~ 'XXXX' ",

"maxResults": 100,

"fieldsByKeys": true,

"fields": [

"created",

"summary",

"description"

],

"startAt": 0

}

I just tested it in postman and it works :). Let me know if you need more help...

0 votes

Hi @Seetharaman Kumarakrishnan 

 

Issue created date field is called "created". Please try to find this one.

 

Regards,

Seba

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS

Atlassian Community Events