Forums

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

how to add default field

Sneha Prakash Somnathe March 15, 2022

When creating new Tasks/Story/Sub-tasks, we require reporters to assign an estimate to the issue. In the absence of that, we would like to set a default estimate of 2h 1m on these issues to avoid having issues with an empty original estimate.

Can you please help me with this?

 

Thanks

Sneha

2 answers

1 vote
Nic Brough -Adaptavist-
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.
March 15, 2022

There's no way to set a default value for an estimate off the shelf - this is because it's a really very bad idea to default the estimate, people will just accept the default and move on, leaving you in a worse place than if they had set no estimate at all.  At least with an empty estimate it's easy to see that an issue is not ready to be worked on, and you can very easily pull out reports with "and estimate is empty"

If you insist on doing it, you'll need an app that can exercise some control over the UI - the Behaviours module in Scriptrunner is the only one I know of that could do this.

0 votes
Vishwas
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.
March 15, 2022

Hi @Sneha Prakash Somnathe 

Have you tried adding post function in the workflow create stage ?

Post function like "Set/Update Issue Field to a given Value". This should ideally set a Estimate to default value.

Sneha Prakash Somnathe March 15, 2022

Hi @Vishwas 

In the absence of estimate value, we would like to set a default estimate of 2h 1m on issues to avoid having issues with an empty original estimate.

Vishwas
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.
March 15, 2022

@Sneha Prakash Somnathe 

Even though it might be possible, i would recommend to check Nic Brough's answer.

Suggest an answer

Log in or Sign up to answer