Forums

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

How to get ticket created date using API

Seetharaman Kumarakrishnan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 5, 2022
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

0 votes
Martin Bayer _MoroSystems_ s_r_o__
Community Champion
September 5, 2022

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
Sebastian Krzewiński
Community Champion
September 5, 2022

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
AUG Leaders

Atlassian Community Events