You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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?
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.
Hope that helps
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.
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.
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.
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.
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
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."
So, can anyone help with a workflow rule like...
Before transitioning from "To Do" to "In Progress," the issue must have a Due Date.