Forums

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

What is the smart value for my custom start date field?

steve.humpston September 1, 2021

I cannot find the smart value for the custom 'Start Date' field I am using in advanced roadmaps. The field applied to my issues can be found in the Custom fields section of settings and is called 'Start date'. It is listed as a date variable and I can edit that field manually in issues, display it on Advanced Roadmaps and even use the 'edit field' automation action to edit it but I cannot discover its smart value. It was introduced by a plugin but I do not know which.

I have tried these with various use of capitals:

  • {{issue.startDate}}
  • {{issue.field.startdate}}
  • {{issue.field.start}}
  • {{issue.start}}

This default value works fine: {{issue.dueDate}}

Is there a way to find the smart value of any issue field? I could not get the instructions here to work, the edited URL just reloaded the issue: jira-find-the-smart-value-for-a-field 

 

Screenshot from 2021-09-01 17-07-59.png

2 answers

1 accepted

0 votes
Answer accepted
Bill Sheboy
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 2, 2021

Hi @steve.humpston 

When you note the how-to article on finding a smart value did not work, what did you observe?  I just tried this again and it still works:

  • Identify an issue which has your field of interest
  • Enter this URL in a browser, changing  myInstance to the one for yours and the issueKey to yours:
 myInstance.atlassian.net/rest/api/2/issue/issueKey?expand=names
  • Search on the page for your field name; this will show the field name, and any custom field ID, if you want to use that instead
  • Search again on the page and you should see the current value in the field; this will help confirm you are looking at what you expected

Best regards,
Bill

steve.humpston September 2, 2021

Thanks Bill, I retried this and I got it to work this time. I had the issue key wrong. Your explanation is clear. I will use this in future. 

Like Bill Sheboy likes this
0 votes
Fabian Lim
Community Champion
September 1, 2021

Hi @steve.humpston

The best option here is to actually go to the custom field configuration of the field  and check the id on the url.

Once you have it, use the {{issue.customfield_xxx}} smart value.

Cheers

steve.humpston September 1, 2021

Unfortunately it appears to be locked and I cannot access the configuration. Is there anyway around this? 

 

Otherwise I suppose I could make a new custom field and use this technique?

 

Screenshot from 2021-09-01 17-31-31.png

Fabian Lim
Community Champion
September 1, 2021

The Id  should be on the url on top. 

steve.humpston September 1, 2021

When that screenshot is showing my URL is:

"XXX.atlassian.net/secure/admin/ViewCustomFields.jspa?page=1&searchFilter=start"

 

You have to hit "edit details" to get a new page to load with and ID in the URL

Fabian Lim
Community Champion
September 1, 2021

The other option is to go on the view screen of an issue that contains this field. Then hover over it and inspect the elements with the browser dev tools. You will be able to find the customfield number.

steve.humpston September 1, 2021

Thanks, I could not find it this way, but eventually found it in configuration > scheduling for my plan in advanced roadmaps. The start date selection field listed the IDs of the selectable date fields. {{issue.customfield_10039}} is working

Suggest an answer

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

Atlassian Community Events