Forums

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

I can't retrieve the date from the Start date field

Andrea Rigo
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 6, 2023

I'm trying to build an automation to extract the working days of a task from the Due date and its Start date. I'm using the smart field {{issue.Start date}} but I can't see any date.

I tried with {{issue.Due date}}, and it works.

I've noticed that in our Jira customization there are two fields with similar names: "Start date" and "Start Date" (only the capital D is the difference). Could this be the reason for this misbehavior?

1 answer

1 accepted

0 votes
Answer accepted
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 6, 2023

HI @Andrea Rigo 

Due date is a system field form Jira.

Start Date and Start date are in my opinion created custom fields, they need to be addressed by the ID.

The value to access the field you be something as follows:

{{issue.customfield_10045}}

You can find this ID via the Rest API.

https:://<your site name>.atlassian.net/rest/api/3/field

FYI: Having to fields with the same name is bad practice. I would address this to your Jira admins

Andrea Rigo
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 6, 2023

Hi @Marc - Devoteam , thanks for the answer.

Using the customfield works for other dates but not for my specific field that is generated in the Timeline view of my Project Scrum board.

Via Rest API I found the ID and its

"name": "Baseline start date",

Maybe the field I'm looking for has another name.

Do you know the name of the fields used for the Timeline. One should be the "Due date", but for the start of the task what is the actual name?

Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 6, 2023

Hi @Andrea Rigo 

I don't think the fields used on the timeline view are usable.

I think they come based on the start adn end date of the sprint, but I'm not sure.

You could reach out to Atlassian support, to find out if there is information usable from the Timeline view in automation. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events