How to get ticket created date using API

Seetharaman Kumarakrishnan 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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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