Hi,
I'm trying to create an automation to set the target start/end date based on the fixversion of a ticket to populate automatically the plan for our project.
I'm able to get the Target End date by fixing it to the fixversion.releaseDate
But I'm not able to get the start date of the release: fixversion.startDate gives me an error and when I look at the fixVersion in the JSON representation of my ticket I only see those fields:
- self:
- id
- description
- name
- archived
- released
- releaseDate
Does this means that I can not get the startDate of the fixversion eventhough it is set?
Thank you in advance for your help.
These work for me when I'm reading the values for a story and applying them to another story, like when I split an issue.
{{triggerissue.fixVersions.startDate}}
{{triggerissue.fixVersions.releaseDate}}
{{triggerissue.fixVersions.description}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You appear to be using the incorrect smart value for Fix Versions, as it is plural (and provides a list of the versions for the issue). Please try this:
{{issue.fixVersions.startDate}}
If that does not work, the cause for Jira Data Center could be the attribute is not supported by the issue REST API.
According to the documentation, startDate is not available as a smart value: https://confluence.atlassian.com/automation/jira-smart-values-issues-993924860.html#Jirasmartvaluesissues-issue.fixVersionsissue.fixVersions
A possible workaround is using the Send Web Request action to call the REST API endpoint to get the project versions: https://docs.atlassian.com/software/jira/docs/api/REST/9.13.0/#api/2/project-getProjectVersions
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bill,
I made a typo in the description of the problem. I was using fixversions, but it did not work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.