In a next-gen project in Jira Cloud...
I have "Due Date" as a field on all issue types. I have one workflow shared by all issue types.
I want it to work like: before transitioning from "To Do" to "In Progress," the issue must have a Due Date.
I did some research and it seems like a rule on a transition is the perfect thing. I would add a rule > "Check an issue's field" > select "Due Date" > check that its value is not empty.
However, the "Due Date" field is not available as an option, in the drop-down list of fields, when I create a transition rule like "Check an issue's field." Nor is it available on a transition rule like "Update an issue field." Why? Is there something I can do to make it available there?
And/or, is there another way to accomplish what I want?
There seems to be another workaround (I'm still testing it):
{
"projectAndIssueTypes": [
{
"projectId": 10045,
"issueTypeId": 10041
}
]
}
[...]
"conditions": [
{
"ruleKey": "system:check-field-value",
"parameters": {
"fieldId": "customfield_10015",
"fieldValue": "[\"\"]",
"comparator": "!=",
"comparisonType": "DATE_WITHOUT_TIME"
},
"id": "a71fabe6-f05b-4da1-9c54-b014364f65da"
}
]
[...]
Hello there,
I was suffering the same problem and I've solved it by using an interim custom field (face-palm).
essentially : post funtion of 'set the interim date to %%CurrentDateTime%%' then a subsequent post funtion to 'copy the value from the interim field to 'Due date' field.
Details here : Solved: How do I automatically set the due date on transit... (atlassian.com)
Hope that helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am facing the same issue too, the Due Date is there in field however i don't see the option to choose Due Date while creating a rule in the workflow. Image attached as below.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry I accidentally posted it as answer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, I don't have an answer, but I have the exact same question. The above answers have been how to accomplish the requirement in the original question using the classic workflow editor. We need an answer to this question for Team-Managed projects and Jira Work Management projects that are both using the new workflow editor.
I would love a more generalized answer that provides an explanation of the limited fields that are available for the transition rules - why just the subset? Why not all the fields for the issue type(s) involved in the workflow?
I have scoured the available information to no avail.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah! The fields Assignee, Description, Priority, Start date and Summary are all there, available to be used in a transition rule. I even have a custom field which I can also use.
But not Due Date!
And I just double-checked, and like I mentioned, I have added "Due date" as a "Context field" on all of my issue types.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Kevin H. ,
If I understood correctly, you want to either insert a condition or a validator within a workflow. From what I know, out of the box you can use both, and due date is available as a field:
Condition will check for the due date BEFORE transitioning the issue, whereas validator will check the due date DURING the transition.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, I have the same question but for Jira Work Management. I do not have the screens shown in your reply, but would phrase my question exactly as OP has - on a Rule in Workflow Transition I can only run checks on a value, not check that the value exists. I want to ask 'is there someone assigned?' but all I can ask is 'Check if Person X is / is not assigned' etc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Travis
Yes you can check if a value exist, like in the example below:
First set the condition: "assignee != ". Do not enter a value on the value field
Your condition should look like the following when you save it
Now, if you try to move a ticket (i've place the condition on the transition from open to in progress), you'll get the following message
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My screens look vastly different to those screenshots, but it does seem to work to use 'is not equal to' and leave blank. Seems like you guys still have a few usability things to tidy up in the transition from a dev platform to business platform.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah, @Alex Koxaras -Relational- -- I am using a next-gen project.
My understanding is that in a next-gen project, conditions and validators are "out," and workflow rules are "in."
This link describes the workflow rules I am talking about.
So, can anyone help with a workflow rule like...
Before transitioning from "To Do" to "In Progress," the issue must have a Due Date.
...?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.