 (defn jira-connect-modal
   [project owner]
   (let [inputs (inputs/get-inputs-from-app-state owner)
-        token (or (get-in inputs [:jira :circle_token])
-                  (get-in project [:jira :circle_token]))
-        project-id (project-model/id project)
-        jira-input-path (conj state/inputs-path :jira :circle_token)
+        token (get-in inputs [:jira :circle_token])
         track-event (fn [event-type]
                       ((om/get-shared owner :track-event)
                        {:event-type event-type

                  :kind :primary
                  :on-click (fn [_]
                              (raise! owner
                                      [:saved-project-settings {:project-id project-id
                                                                :merge-paths [[:jira]]
                                                                :on-success close-modal!}])
                              (track-event :save-clicked))}
                 "Save")]
      :close-fn close-fn})))

(defn jira-empty-state [project-data owner]
  (reify
    om/IInitState
    (init-state [_]

                                    :require true
                                    :value token
                                    :on-change #(utils/edit-input owner
                                                                  (jira-input-path :circle_token)
                                                                  %)}))])
      :actions [(button/button {:on-click close-fn} "Cancel")
                (button/managed-button
