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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,464,125
Community Members
 
Community Events
176
Community Groups

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 

4 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

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

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,

Can we disable time booking in an issue based on the status of its linked issue?

Any leads would be helpful here.

Best,

Swasti

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