Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to restrict user from logging work when the original estimate is blank.

Bhanuprakash
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 28, 2024

Hello all,

we are using jira cloud standard version and want to achieve the below requirement.


1. Whenever user tries to enter work log in an Issue in any issue it must validate whether Original Estimate has value, if there is no value in Original Estimation field then user should not be able to log work. It should throw an error message that should say that original estimate field is blank.

2. No issue with Original Estimation can be more than 16hrs - if someone tries to enter more than 16hrs in Original Estimation field it should prompt an message to that only 16hrs for each issues, incase of any more hours entered user needs to split the complete hours into 2 and splits the hours accordingly.

3. No Issue should be moved to sprint whenever an issue has blank in Original Estimation field..

 

can this be achieved using Script Runner for Jira Cloud

 

1 answer

0 votes
Pears Whims
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 28, 2024

Hey @Bhanuprakash

To achieve the requirements you mentioned:

  • Restrict logging work when the Original Estimate is blank: Use a custom ScriptRunner Validator to check if the Original Estimate has a value before allowing work logs.
  • Enforce a maximum of 16 hours in the Original Estimate: Implement a ScriptRunner Validator to prevent saving if the Original Estimate exceeds 16 hours.
  • Prevent issues from being moved to a sprint if the Original Estimate is blank: Use workflow conditions or a custom script to block this action.

For more detailed guidance and similar solutions, you may find this thread helpful: Restriction with Time estimation and time spending process.

Cheers,
Pears Whims.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events