<p>How do you go about the requirements gathering phase? Does anyone have a good set of guidelines or tips to follow? What are some good questions to ask the stakeholders? </p>

<p>I am currently working on a new project and there are a lot of unknowns. I am in the process of coming up with a list of questions to ask the stakeholders. However I cant help but to feel that I am missing something or forgetting to ask a critical question. </p>

[{'answer_id': 29113, 'author': 'Robert Durgin', 'author_id': 3132, 'author_profile': 'https://Stackoverflow.com/users/3132', 'pm_score': 2, 'selected': False, 'text': '<p>You can never ask too many or "stupid" questions. The more questions you ask, the more answers you receive.</p>\n'}, {'answer_id': 29116, 'author': 'Dillie-O', 'author_id': 71, 'author_profile': 'https://Stackoverflow.com/users/71', 'pm_score': 4, 'selected': False, 'text': '<p>See obligatory comic below...</p>\n\n<p>In general, I try and get a feel for the business model my customer/client is trying to emulate with the application they want built. Are we building a glorified forms processor? Are we retrieving data from multiple sources in a single application to save time? Are we performing some kind of integration?</p>\n\n<p>Once the general businesss model is established, I then move to the "must" and "must nots" for the application to dictate what data I can retrieve, who can perform what functions, etc.</p>\n\n<p>Usually if you can get the customer to explain their model or workflow, you can move from there and find additional key questions.</p>\n\n<p>The one question I always make sure to ask in some form or another is "What is the trickiest/most annoying thing you have to do when doing X. Typically the answer to that reveals the craziest business/data rule you\'ll have to implement.</p>\n\n<p>Hope this helps!</p>\n\n<p><img src="https://i.stack.imgur.com/T1Ki9.jpg" alt="enter image description here"></p>\n'}, {'answer_id': 29118, 'author': 'Chris Upchurch', 'author_id': 2600, 'author_profile': 'https://Stackoverflow.com/users/2600', 'pm_score': 5, 'selected': True, 'text': "<p>You're almost certainly missing something.  A lot of things, probably.  Don't worry, it's ok.  Even if you remembered everything and covered all the bases stakeholders aren't going to be able to give you very good, clear requirements without any point of reference.  The best way to do this sort of thing is to get what you can from them now, then take that and give them something to react to.  It can be a paper prototype, a mockup, version 0.1 of the software, whatever.  Then they can start telling you what they really want.  </p>\n"}, {'answer_id': 29179, 'author': 'Sam Hasler', 'author_id': 2541, 'author_profile': 'https://Stackoverflow.com/users/2541', 'pm_score': 2, 'selected': False, 'text': '<p>According to Steve Yegge that\'s the <a href="http://steve-yegge.blogspot.com/2008/08/business-requirements-are-bullshit.html" rel="nofollow noreferrer">wrong question to ask</a>. If you\'re gathering requirement it\'s already too late, your project is doomed.</p>\n'}, {'answer_id': 29228, 'author': 'Jorge Córdoba', 'author_id': 2695, 'author_profile': 'https://Stackoverflow.com/users/2695', 'pm_score': 3, 'selected': False, 'text': '<p>First of all gather the requirements <strong>before</strong> you start coding. You can begin the design while you are gathering them depending on your project life cicle but you shouldn\'t ever start coding without them.</p>\n\n<p>Requirements are a set of well written documents that protect both the client and yourself. Never forget that. If no requirement is present then it was not paid for (and thus it requires a formal change request), if it\'s present then it <strong>must</strong> be implemented and must work correctly.</p>\n\n<p>Requirements must be testable. If a requirement cannot be tested then it isn\'t a requirement. That means something like, "The system "</p>\n\n<p>Requirements must be concrete. That means stating "The system user interface shall be easy to use" is not a correct requirment.</p>\n\n<p>In order to actually "gather" the requirements you need to first make sure you understand the businness model. The client will tell you what they want with its own words, it is your job to understand it and interpret it in the right context.</p>\n\n<p>Make meetings with the client while you\'re developing the requirements. Describe them to the client with your own words and make sure you and the client have the same concept in the requirements.</p>\n\n<p>Requirements require concise, testable example, but keep track of every other thing that comes up in the meetings, diagrams, doubts and try to mantain a record of every meeting.</p>\n\n<p>If you can use an incremental life cycle, that will give you the ability to improve some bad gathered requirements.</p>\n'}, {'answer_id': 29248, 'author': 'Quibblesome', 'author_id': 1143, 'author_profile': 'https://Stackoverflow.com/users/1143', 'pm_score': 4, 'selected': False, 'text': '<p><a href="http://steve-yegge.blogspot.com/2008/08/business-requirements-are-bullshit.html" rel="nofollow noreferrer">Steve Yegge</a> talks fun but there is money to be made in working out what other people\'s requirements are so i\'d take his article with a pinch of salt.</p>\n\n<p>Requirements gathering is incredibly tough because of the manner in which communication works. Its a four step process that is lossy in each step.</p>\n\n<ul>\n<li>I have an idea in my head</li>\n<li>I transform this into words and pictures</li>\n<li>You interpret the pictures and words</li>\n<li>You paint an image in your own mind of what my original idea was like</li>\n</ul>\n\n<p>And humans fail miserably at this with worrying frequency through their adorable imperfections. </p>\n\n<p>Agile does right in promoting iterative development. Getting early versions out to the client is important in identifying what features are most important (what ships in 0.1 - 0.5 ish), helps to keep you both on the right track in terms of how the application will work and quickly identifies the hidden features that you <em>will</em> miss.</p>\n\n<p>The two main problem scenarios are the two ends of the scales:</p>\n\n<ul>\n<li><strong>Not having a freaking clue about what you are doing</strong> - get some domain experts</li>\n<li><strong>Having too many requirements</strong> - feature pit. - Question, cull (prioritise ;) ) features and use iterative development</li>\n</ul>\n\n<p>Yegge does well in pointing out that domain experts are essential to produce good requirements because they know the business and have worked in it. They can help identify the core desire of the client and will help explain how their staff will use the system and what is important to the staff. \nAlternatives and additions include trying to do the job yourself to get into the mindset or having a client staff member occasionally on-site, although the latter is unlikely to happen.</p>\n\n<p>The feature pit is the other side, mostly full of failed government IT projects. Too much, too soon, not enough thought or application of realism (but what do you expect they have only about four years to make themselves feel important?). The aim here is to work out what the customer <em>really</em> wants.\nAs long as you work on getting the core components correct, efficient and bug-free clients usually remain tolerant of missing features that arrive in later shipments, as long as they eventually arrive. This is where iterative development really helps.</p>\n\n<p>Remember to separate the client\'s ideas of what the program will be like and what they want the program to <em>achieve</em>.\nSome clients can create confusion by communicating their requirements in the form of application features which may be poorly thought out or made redundant by much simpler functionality then they think they require. While I\'m not advocating calling the client an idiot or not listening to them I feel that it is worth forever asking <em>why</em> they want a particular feature to get to its underlying purpose. </p>\n\n<p>Remember that in either scenario it is of imperative importantance to root out the quickest path to fulfilling the customers <em>core</em> need and put you in a scenario where you are both profiting from the relationship.</p>\n'}, {'answer_id': 29265, 'author': 'Aidan Ryan', 'author_id': 1042, 'author_profile': 'https://Stackoverflow.com/users/1042', 'pm_score': 2, 'selected': False, 'text': "<ol>\n<li><p>High-level discussions about purpose, scope, limitations of operating environment, size, etc</p></li>\n<li><p>Audition a single paragraph description of the system, hammer it out</p></li>\n<li><p>Mock up UI</p></li>\n<li><p>Formalize known requirements</p></li>\n<li><p>Now iterate between 3 and 4 with more and more functional prototypes and more specs with more details.  Write tests as you go. Do this until you have functional software and a complete, objective, testable requirements spec.</p></li>\n</ol>\n\n<p>That's the dream.  The reality is usually after a couple iterations everybody goes head-down and codes until there's a month left to test.</p>\n"}, {'answer_id': 69759, 'author': 'Tawheed', 'author_id': 11217, 'author_profile': 'https://Stackoverflow.com/users/11217', 'pm_score': 1, 'selected': False, 'text': '<p>There are some great ideas here already. Here are some requirements gathering principles that I always like to keep in mind:</p>\n\n<p><strong>Know the difference between the user and the customer.</strong>\nThe business owners that approve the shiny project are usually the customers. However, a devastating mistake is the tendency to confuse them as the user. The customer is usually the person that recognizes the need for your product, but the user is the person that will actually be using the solution (and will most likely complain later about a requirement your product did not meet).\nGo to more than one person</p>\n\n<p>Because we’re all human, and we tend to not remember every excruciating detail. You increase your likelihood of finding missed requirements as you talk to more people and cross-check.</p>\n\n<p><strong>Avoid specials</strong>\nWhen a user asks for something very specific, be wary. Always question the biases and see if this will really make your product better.</p>\n\n<p><strong>Prototype</strong>\nDon’t wait till launch to show what you have to the user. Do frequent prototypes (you can even call them beta versions) and get constant feedback throughout the development process. You’ll probably find more requirements as you do this.</p>\n'}, {'answer_id': 71159, 'author': 'whiz', 'author_id': 1233512, 'author_profile': 'https://Stackoverflow.com/users/1233512', 'pm_score': 0, 'selected': False, 'text': '<p>I recently started using the concepts, standards and templates defined by the <a href="http://www.theiiba.org" rel="nofollow noreferrer">International Institute of Business Analysts</a> organization (<a href="http://www.theiiba.org" rel="nofollow noreferrer">IIBA</a>). </p>\n\n<p>They have a pretty good BOK (Book of Knowledge) that can be downloaded from their website. They do also have a certificate.</p>\n'}, {'answer_id': 71192, 'author': 'Josh Smeaton', 'author_id': 10583, 'author_profile': 'https://Stackoverflow.com/users/10583', 'pm_score': 1, 'selected': False, 'text': '<p><a href="http://steve-yegge.blogspot.com/2008/08/business-requirements-are-bullshit.html" rel="nofollow noreferrer"> Gathering Business Requirements Are Bullshit </a> - Steve Yegge</p>\n'}, {'answer_id': 108577, 'author': 'Jeffrey Davidson', 'author_id': 19639, 'author_profile': 'https://Stackoverflow.com/users/19639', 'pm_score': 3, 'selected': False, 'text': "<p>Wow, where to start? </p>\n\n<p>First, there is a set of knowledge someone should have to do analysis on some projects, but it really depends on what you are building for who. In other words, it makes a big difference if you are modifying an enterprise application for a Fortune 100 corporation, building an iPhone app, or adding functionality to a personal webpage.</p>\n\n<p>Second, there are different kinds of requirements. </p>\n\n<ul>\n<li>Objectives: What does the user want to accomplish?</li>\n<li>Functional: What does the user need to do in order to reach their objective? (think steps to reach the objective/s)</li>\n<li>Non-functional: What are the constraints your program needs to perform within? (think 10 vs 10k simultaneous users, growth, back-up, etc.)</li>\n<li>Business rules: What dynamic constraints do you have to meet? (think calculations, definitions, legal concerns, etc.)</li>\n</ul>\n\n<p>Third, the way to gather requirements most effectively, and then get feedback on them (which you will do, right?) is to use models. User cases and user stories are a model of what the user needs to do. Process models are another version of what needs to happen. System diagrams are just another model of how different parts of the program(s) interact. Good data modeling will define business concepts and show you the inputs, outputs, and changes that happen within your program. Models (and there are more than I listed) are really the key to the concern you list. A few good models will capture the needs and from models you can determine your requirements. </p>\n\n<p>Fourth, get feedback. I know I mentioned this already, but you will not get everything right the first time, so get responses to what your customer wants. </p>\n\n<p>As much as I appreciate requirements, and the models that drive them, users typically do not understand the ramifications of of all their requests. Constant communication with chances for review and feedback will give users a better understanding of what you are delivering. Further, they will refine their understanding based on what they see. Unless you're working for the government, iterations and / or prototypes are helpful. </p>\n"}, {'answer_id': 441640, 'author': 'meade', 'author_id': 50525, 'author_profile': 'https://Stackoverflow.com/users/50525', 'pm_score': 1, 'selected': False, 'text': "<p>I've been using mind mapping (like a work breakdown structure) to help gather requirements and define the unknowns (the #1 project killer).  Start at a high level and work your way down.  You need to work with the sponsors, users and development team to ensure you get all the angles and don't miss anything.  You can't be expected to know the entire scope of what they want without their involvement...you - as a project manager/BA - need to get them involved (most important part of the job).</p>\n"}, {'answer_id': 881170, 'author': 'Yordan Georgiev', 'author_id': 65706, 'author_profile': 'https://Stackoverflow.com/users/65706', 'pm_score': 1, 'selected': False, 'text': '<ul>\n<li>read the agile manifesto - working software is the only measurement for the success of a software project </li>\n<li>get familiar with agile software practices - study Scrum , lean programming , xp etc - this will save you tremendous amount of time not only for the requirements gathering but also for the entire software development lifecycle</li>\n<li>keep regular discussions with Customers and especially the future users and key-users   </li>\n<li>make sure you talk to the Persons understanding the problem domain - e.g. specialists in the field</li>\n<li>Take small notes during the talks</li>\n<li>After each CONVERSATION write an official requirement list and present it for approving. Later on it would be difficult to argue against all agreed documentation</li>\n<li>make sure your Customers know approximately what are the approximate expenses in time and money for implementing "nice to have" requirements</li>\n<li>make sure you label the requirements as "must have" , "should have" and "nice to have" from the very beginning, ensure Customers understand the differences between those types also</li>\n<li>integrate all documents into the latest and final requirements analysis (or the current one for the iteration or whatever agile programming cycle you are using ... )</li>\n<li>remember that requirements do change over the software life cycle , so gathering is one thing but managing and implementing another</li>\n<li>KISS - keep it as simple as possible </li>\n<li>study also the environment where the future system will reside - there are more and more technological restraints from legacy or surrounding systems , since the companies do not prefer to throw to the garbage the money they have invested for decades even if in our modern minds 20 years old code is garbage ...</li>\n</ul>\n'}, {'answer_id': 914451, 'author': 'louism', 'author_id': 24702, 'author_profile': 'https://Stackoverflow.com/users/24702', 'pm_score': 0, 'selected': False, 'text': '<p>i wrote a blog article about the approach i use:</p>\n\n<p><a href="http://pm4web.blogspot.com/2008/10/needs-analysis-for-business-websites.html" rel="nofollow noreferrer">http://pm4web.blogspot.com/2008/10/needs-analysis-for-business-websites.html</a></p>\n\n<p>basically: questions to ask your client before building their website.</p>\n\n<p>i should add this questionnaire sheet is only geared towards basic website builds - like a business web presence. totally different story if you are talking about web-based software. although some of it is still relavant (e.g. questions relating to look and feel).</p>\n\n<ul>\n<li>LM</li>\n</ul>\n'}, {'answer_id': 914499, 'author': 'Jonathan Holloway', 'author_id': 82865, 'author_profile': 'https://Stackoverflow.com/users/82865', 'pm_score': 0, 'selected': False, 'text': '<p>Requirements Engineering is a bit of an art, there are lots of different ways to go about it, you really have to tailor it to your project and the stakeholders involved.  A good place to start is with Requirements Engineering by Karl Wiegers:</p>\n\n<p><a href="https://rads.stackoverflow.com/amzn/click/com/0735618798" rel="nofollow noreferrer" rel="nofollow noreferrer">http://www.amazon.com/Software-Requirements-Second-Pro-Best-Practices/dp/0735618798/ref=pd_bbs_sr_2?ie=UTF8&amp;s=books&amp;qid=1234910330&amp;sr=8-2</a></p>\n\n<p>and a requirements engineering process which may consist of a number of steps e.g.:</p>\n\n<ul>\n<li>Elicitation - for the basis for discussion with the business</li>\n<li>Analysis and Description - a technical description for the purpose of the developers</li>\n<li>Elaboration, Clarification, Verification and Negotiation - further refinement of the requirements</li>\n</ul>\n\n<p>Also, there are a number of ways of documenting the requirements (Use Cases, Prototypes, Specifications, Modelling Languages).  Each have their advantages and disadvantages.  For example prototypes are very good for elicitation of ideas from the business and discussion of ideas.  </p>\n\n<p>I generally find that writing a set of use cases and including wireframe prototypes works well to identify an initial set of requirements.  From that point it\'s a continual process of working with technical people and business people to further clarify and elaborate on the requirements.  Keeping track of what was initially agreed and tracking additional requirements are essential to avoid scope creep.  Negotiation plays a bit part here also between the various parties as per the Broken Iron Triangle (<a href="http://www.ambysoft.com/essays/brokenTriangle.html" rel="nofollow noreferrer">http://www.ambysoft.com/essays/brokenTriangle.html</a>).</p>\n'}, {'answer_id': 914546, 'author': 'Erich Kitzmueller', 'author_id': 65464, 'author_profile': 'https://Stackoverflow.com/users/65464', 'pm_score': 0, 'selected': False, 'text': '<p>IMO the most important first step is to set up a dictornary of domain-specific words. When your client says "order", what does he mean? Something he receives from his customers or something he sends to his suppliers? Or maybe both?</p>\n\n<p>Find the keywords in the stakeholders\' business, and let them explain those words until you comprehend their meaning in the process. Without that, you will have a hard time trying to understand the requirements.</p>\n'}, {'answer_id': 914574, 'author': 'James Anderson', 'author_id': 38207, 'author_profile': 'https://Stackoverflow.com/users/38207', 'pm_score': 1, 'selected': False, 'text': '<p>Like most stages of the software development process its iteration works best.</p>\n\n<p>First find out who your users are -- the XYZ dept,</p>\n\n<p>Then find out where they fit into the organisation -- part of Z division,</p>\n\n<p>Then find out what they do in general terms -- manage cash</p>\n\n<p>Then in specific terms -- collect cash from tills, and check for till fraud.</p>\n\n<p>Then you can start talking to them.</p>\n\n<p>Ask what problem they want you want to solve -- you will get an answer like write a bamboozling system using OCR with shark technoligies.</p>\n\n<p>Ignore that answer and ask some more questions to find out what the real problem is -- they cant read the till slips to reconcile the cash.</p>\n\n<p>Agree a real solution with the users -- get a better ink ribbon supplier - or connect the electronic tills to the network and upload the logs to a central server.</p>\n\n<p>Then agree in detail how they will measure the success of the project.</p>\n\n<p>Then and only then propose and agree a detailed set of requirements. </p>\n'}, {'answer_id': 914610, 'author': 'TheVillageIdiot', 'author_id': 13198, 'author_profile': 'https://Stackoverflow.com/users/13198', 'pm_score': 1, 'selected': False, 'text': '<p>I would suggest you to read <a href="http://en.wikipedia.org/wiki/Roger_S._Pressman" rel="nofollow noreferrer">Roger-Pressman\'s</a> <a href="https://rads.stackoverflow.com/amzn/click/com/007301933X" rel="nofollow noreferrer" rel="nofollow noreferrer">Software Engineering: A Practitioner\'s Approach</a> </p>\n'}, {'answer_id': 5438896, 'author': 'allthingscs', 'author_id': 661808, 'author_profile': 'https://Stackoverflow.com/users/661808', 'pm_score': 0, 'selected': False, 'text': '<p>I prefer to keep my requirements gathering process as simple, direct and thorough as possible. You can download a sample document that I use as a template for my projects at this blog posting: <a href="http://allthingscs.blogspot.com/2011/03/documenting-software-architectural.html" rel="nofollow">http://allthingscs.blogspot.com/2011/03/documenting-software-architectural.html</a></p>\n'}, {'answer_id': 7179432, 'author': 'daniloquio', 'author_id': 354756, 'author_profile': 'https://Stackoverflow.com/users/354756', 'pm_score': 1, 'selected': False, 'text': '<p>Before you go talking to the stakeholders/users/anyone be sure you will be able to put down the gathered information in a usefull and days-lasting way. </p>\n\n<ul>\n<li>Use a sound-recorder if it is OK with the other person and the information is bulky.</li>\n<li>If you heard something important and you need some reasonable time to write it down, you have two choices: ask the other person to wait a second, or say goodbye to that precious information. You wont remember it right, ask any neuro-scientist.</li>\n<li>If you detect that a point need deeper review or that you need some document you just heard of, make sure you make a commitment with the other person to send that document or schedule another meeting with a more specific purpose. Never say "I\'ll remember to ask for that xls file" because in most cases you wont.</li>\n<li>Not to long after the meeting, summarize all your notes, recordings and fresh thoughts. Just summarize it rigth. Create effective reminders for the commitments.</li>\n<li>Again, just after the meeting, is the perfect time to understand why the gathering you just did was not as right as you thought at the end of the meeting. That\'s when you will be able to put down a lot of meaningful questions for another meeting.</li>\n</ul>\n\n<p>I know the question was in the perspective of the pre-meeting, but please be aware that you can work on this matters before the meeting and end up with a much usefull, complete and quality gathering.</p>\n'}]
['https://Stackoverflow.com/questions/29104', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1375/']