Have a custom field called Duration. Want to define it as difference between Project start and Project target (also custom fields, date).
Hi @Lamija Pasalic -- Welcome to the Atlassian Community!
For a question like this, context is important for the community to help. Please post the following:
Thanks, and kind regards,Bill
@Lamija Pasalic Welcome to the Community!
As both Project start and target are date fields so i thnk you need to use CompateTo function to compare the dates in between these two fields and it will return the number, which you can set to the Duration field.
https://confluence.atlassian.com/automation/jira-smart-values-date-and-time-993924864.html
Hi,
Hope that one of these solutions works for you. If not, I recommend to raise a support ticket via support.atlassian.com.
Kind regards,
Jet
Hi @Jet
I notice for multiple questions, you are accepting solutions (including your generic post above) rather than letting the original poster interact with the community. Indeed, their question was only posted yesterday! Please allow the original poster to respond to decide if their question has been answered.
Kind regards,Bill
@Jet Will you please shre wha is the answer that you have posted and that would helpful for another as well.
I am using Jira Cloud, and this is a JPD project, of which I am owner and admin.
The error I am getting regardless of what field I am trying to update, even if I don't use a formula.
See workflow above.
It triggers correctly, every time I try update either project start or target it fires. But the error I am getting is always the same.
no, that doesn't help. even if i set the duration field manually to some number (the field is of type number) I get the same error message.
Which user is the rule actor in the details at the top: the default of Automation for Jira, or someone else?
I believe to change a JPD field, the actor must have JPD Idea update permissions (e.g., a creator). Please try changing the actor to yourself (as you have sufficient permissions) and re-test.
that made it. thank you!!!!!!!!!
It looks like you're new here. Sign in or register to get started.