JIRA: to close or to resolve?

巧了我就是萌 提交于 2019-12-03 04:41:06

问题


You can reopen both a resolved and a closed issue in JIRA. What's the practical difference? (besides requiring different permissions to resolve/close issues e.g. if QA is involved)

We have some differences of opinion in our team for whether to resolve or close, and I'd like to point towards some authority and say "we should do it this way".


回答1:


Typical issue workflow is the person working on the bug resolves it, and the person who opened the bug is the one who decides if the resolution is acceptable. If it is, they close it. If not, they re-open the bug for further discussion/work/wrangling.

The exception to this is when a bug is a duplicate, often the person who is working on the bug realizes that it's a duplicate, and can then close the bug themselves as a duplicate. Or maybe they resolve it as a duplicate, the opener agrees, and closes it.

IIRC, JIRA has a pretty flexible (if complicated) workflow, so you can setup any process you feel is appropriate for your team and the groups who will be submitting issues.

Edit: I realize I didn't actually address reopening closed issues. In my experience, it often doesn't happen because people search the issue system for existing bugs that exhibit the same behavior as what they are seeing. And that's if you are lucky, quite often bugs get opened without any investigation into existing issues.

That being said, a QA or field person will go "I remember that bug. Dammit, they said it was fixed" some time after the original owner closed it. At this point, they may reopen the old bug, or create a new one and link to the original. My preference is for there to be a new bug and to link, rather than reopen. The reason is that the "new" issue may exhibit the same behavior, but might have a completely different cause. This is often the case when really generic error log messages get spit out.




回答2:


  • Resolved is usually "Ready for Testing"
  • Closed is usually "It worked"

You may also want to see this blog post for more details about how JIRA uses the Resolved/Closed states and the system Resolution field.




回答3:


The way we do it, against our external customers, is when we have billed the the customer we close the incident (this can be just as well a problem or a SED-task), until then, the incident simply remains resolved.

I believe you should not re-open a closed incident, that one is the books, while a resolved incident you can re-open.

By the way, it would be wise to read what ITIL says about this. As said on this page:

Rules for re-opening incidents

Despite all adequate care, there will be occasions when incidents recur even though they have been formally closed. Because of such cases, it is wise to have pre-defined rules about if and when an incident can be re-opened. It might make sense, for example, to agree that if the incident recurs within one working day then it can be re-opened - but that beyond this point a new incident must be raised, but linked to the previous incident(s). The exact time threshold/rules may vary between individual organizations - but clear rules should be agreed and documented and guidance given to all Service Desk staff so that uniformity is applied.




回答4:


You (usually) cannot edit nor log work against a Closed issue, and you should take this into consideration.

My advice is: only testers Close




回答5:


Usually, Dev/Resource should Resolve and only reporter can close.




回答6:


I think CLOSED is a status and RESOLVED is a state.

  1. An issue can be RESOLVED as DONE, NOT REPEATABLE, or CANCELED (or any statuses you choose ... it's set in the workflow rules)
  2. RESOLUTION can be used in JQL pretty easily too ... e.g. PROJECT = DBA and RESOLUTION is EMPTY
  3. RESOLVED Issues also show up with strike through characters when listed in other issue comments or links
  4. At the DB level, RESOLUTION DATE is a separate field and also shown in the DATE section of an issue

I think there is a bunch of reporting available for RESOLVED issues as well.

Bottom line... RESOLVED can mean 'no longer active' for any number of reasons and it has special functionality in JIRA. CLOSED is just another status.



来源:https://stackoverflow.com/questions/4718471/jira-to-close-or-to-resolve

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!