Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Enforce time registration

Michael Wekker January 10, 2023

Hi all! I'm new to JSM.

Is it possible to force filling in the time registration feature in JSM?
Can time completion be forced when changing the status of the incident ticket (e.g. to a closed status) automatically?

1 answer

1 accepted

0 votes
Answer accepted
Stephen Wright _Elabor8_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 11, 2023

Hi @Michael Wekker 

Yes, this is possible using Validators in your Workflow.

You'll need to do two things here, and need to be a Jira Admin to modify these settings (assuming this is a Company-managed JSM Project).

---

(1) Screen

You'll need the "Log Work" field to be on a transition screen, so a user can populate it during the transition.

  • Go to Settings > Issues
  • On the left-hand menu, select Screens
  • Either...
    • Create a new screen, if a workflow transition doesn't have a screen
    • Find your existing screen, if a transition uses one. For example, most closure transitions already have a screen
  • Ensure the field "Log Work" is included on the screen

---

(2) Add Validator

Use a Validator to ensure the "Log Work" field is populated during the transition

  • Go to Settings > Issues
  • On the left-hand menu, select Workflows
  • Search for the Workflow relevant to your Project(s)/Issue Type(s), and choose to Edit it, using the Actions button (3-dots icon) on the right-hand side
  • Select a relevant transition
  • On the pop-menu that appears...
    • Select Edit, and add your Screen
    • Next, Select Validators...
    • Add a new Validator
    • Choose Field has been modified validator, and press "Add"
    • Set the Field to "Log Work", and enter an error message - then press "Add"
  • Repeat these steps for other transitions you want to have this Validator on
  • Finally, Publish your Workflow so the new changes take effect

---

For more information on screens, see this help page

For more information on workflow validators, see this help page

---

Let us know if this works for you! Or, if you're using a Team-managed Project, let us know so we can provide alternative instructions :)

Ste

Michael Wekker January 14, 2023

Dear Stephen,

Thanks for your feedback, I appreciate that!
I have followed the steps. How can I see it's working? Should I see a pop-up or something else?

Kind regards,

Michael.

Stephen Wright _Elabor8_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 14, 2023

Hi @Michael Wekker 

You should see an error message if you try to complete the transition (from the screen) without logging time.

It also won't let you submit the transition until it is populated :)

Ste

Michael Wekker January 15, 2023

Hi @Stephen Wright _Elabor8_ Once again, thanks for your feedback!

Kind regards,

Michael.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events