Yep, just as @rafaelmenmell showed, you can make things easier on yourself by specifying the aesthetics in the original ggplot() call, if you're using the same aesthetics for x and y for both geoms.
library(tidyverse)
out <- tribble(
~id, ~value,
1, 15,
2, 20,
3, 30
)
ggplot(out, aes(y = value, x = id)) +
geom_point() +
scale_x_continuous() +
geom_jitter()

Created on 2019-03-15 by the reprex package (v0.2.1.9000)