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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Prevent users from logging time on a closed ticket setting estimate automatically gets set to zero

Hi we are using jira 

  • v7.13.0 version 
  • I want to Prevent users from logging time on a closed ticket and when a ticket is closed, the remaining estimate automatically gets set to zero
  • could you please help me on this ASAP 

3 answers

2 accepted

2 votes
Answer accepted

Hi @abbas baman 

For getting remaning estimatation ziro you can use post function (update field) and clear the remaining estimate on your closed transition and if you have automation for jira add on, you can use automation. But for preventing log on closed issue, edit the workflow step property of the appropriate status e.g "Done" add the following entry:

Property key: jira.permission.work.denied

Property value: denied

Then publish the draft l

hi @Ashkan Malekly  thanks for your help but could you please help me to describe step by step process as I am not aware and new to jira confluence 

Like Ashkan Malekly likes this

Yes of course. For getting remaining estimate ziro after changing status to "Done" you should go as bellow:

Project setting => workflow ( if you want to this on all issuetypes. Do this on all workflow) => edit mode =>click on your desired transition ( e.g in progress to done) => choose postfunction => click on add postfunction => choose " update issue field" => update your remaining estimate to 0.

Then publish the draft.

For preventing users from adding logs on issues that are in closed status go as bellow:

Project setting => workflow ( if you want to this on all issuetypes. Do this on all workflow) => edit mode => click on your desired status that you want to prevent adding log e.g "Done" click on property and then write like bellow

Property key: jira.permission.work.denied

Property value: denied

Then publish the draft.

If it is not clear tell me explain it 

Like abbas baman likes this
1 vote
Answer accepted
Elifcan Cakmak Community Leader Apr 01, 2020

Hello,

For your first inquiry, workflow properties should do:

https://confluence.atlassian.com/adminjiracloud/workflow-properties-776636709.html

You need to use 

jira.permission.work.denied

on your closed status and no users will be allowed to log work.

 

For your second inquiry, you need to add a postfunction to your workflow that is called "Update Issue Field". On the transition to your closed status, add this and update your remaining estimate to 0.

Regards,

Elifcan

hi @Elifcan Cakmak  thanks for your help but could you please help to specify step by step as I am new to jira confluence I am not aware about and can't find anything clear on above link

Elifcan Cakmak Community Leader Apr 01, 2020

Hello,

On your Jira instance go to Workflows and edit the workflow of the project you want to achieve this:

Selection_427.png

For the first inquiry click on your Closed status. Mine says Done but it doesn't matter. You should click on the status that you want to prevent logging.

Selection_430.pngClick on properties here and add like this:

Selection_431.pngClick on add. Then go back to your workflow editing page. Click on the transition that you want to prevent logging time. Mine says done but it doesn't matter, again. You should click on the transition that makes the issue status Closed.

Selection_432.pngHere click on postfunctions. On the new page click on add postfunction and choose Update Issue Field and click on add. On the new page choose remaining estimate and write 0 and add. 

Selection_433.pngFinally click on publish button to publish your workflow with the changes. Hope this helps.

Regards,

Elifcan

hi @Elifcan Cakmak thanks a lot for your support and effort much appreciated for your help

hi @Ashkan Malekly  thanks a lot for your support and effort much appreciated for your help

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

🎨 Add some visual life to your templates

Hi Atlassian Community, My name is Avni Barman, and I am a Product Manager on the Confluence Cloud team. Based on feedback from you, we are giving admins more power to create templates that a...

173 views 2 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you