{"componentChunkName":"component---src-templates-help-article-template-jsx","path":"/help/articles/61000165169","result":{"data":{"allContentfulHelpCategory":{"edges":[{"node":{"categoryTitle":"Extensions","categoryId":"61000063757"}},{"node":{"categoryTitle":"With Slack","categoryId":"61000080941"}},{"node":{"categoryTitle":"Mobile app","categoryId":"61000080939"}},{"node":{"categoryTitle":"Account & billing","categoryId":"61000080940"}},{"node":{"categoryTitle":"How to guides","categoryId":"61000063760"}},{"node":{"categoryTitle":"Getting started","categoryId":"61000063758"}}]}},"pageContext":{"article":{"id":61000165169,"type":1,"status":2,"agent_id":61003830981,"created_at":"2020-03-04T01:30:32Z","category_id":61000063757,"folder_id":61000093543,"title":"Using the Bitbucket extension","updated_at":"2021-01-08T00:31:49Z","description":"<p>Attach your pull requests directly to tasks and see the review results with our Bitbucket extension.</p><h1>How to add Bitbucket to a space<ul><li>Open the space in the Workast web app where you'd like to add pull requests.  <em>(You will need to add the bitbucket app to each space individually.</em></li><li>Click on the app menu (plus sign, or arrow if you have more than three apps/extensions) at the top of the space </li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61008178242/original/xAxSWZIFaBbnRfnDAtF-rSSGEmzcJ4pOBA.png?1607992210\" class=\"fr-fic fr-dii fr-bordered\"></p><ul><li>Click on \"Manage extensions\"</li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61008178499/original/UiQtSYS2Ha-yOYPwYiCg5CeVDHfj0rnczw.png?1607993029\" class=\"fr-fic fr-dii fr-bordered\"></p><ul><li>This will open the extensions dialogue for the space.  You'll find the apps that are not added to your current space under the \"Add new extensions\" heading.  Find \"Bitbucket\" then click \"Add\" to add it to the space.  </li></ul><p><br></p><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61008178801/original/CSTfU2DgT4C8CwAe2phrmlxUkKVmNROj3A.png?1607994050\" class=\"fr-fic fr-dii fr-bordered\"></p></h1><h1>Authorizing Bitbucket</h1><ul><li>The first time you use Bitbucket in Workast, you'll need to log in to your account and authorize the app.</li><li>Click on the apps menu in the upper right-hand corner of your space.  Select \"Bitbucket.\" </li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61008178827/original/OLZywNYICFtYSEQG41cr-g44VN4CEeig5g.png?1607994133\" class=\"fr-fic fr-dii fr-bordered\"></p><ul><li><span style='color: rgb(0, 0, 0); font-family: -apple-system, system-ui, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif; font-size: 13px; font-weight: 400; text-align: left; text-indent: 0px; display: inline !important;'>If you see the Bitbucket icon in the top of your space, you can click that instead.</span></li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61008178842/original/w5Ml3rs3FBFIwJXwPcMoEXwwtpuwltrY1w.png?1607994201\" class=\"fr-fic fr-dii fr-bordered\"></p><ul><li>A dialogue will open.  Click \"Connect Bitbucket.\"</li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002953977/original/2RCTmD2TC0I3P0FsGZgCfH9sCfLEcUnlXg.png?1593712868\" class=\"fr-fic fr-dii\"></p><ul><li>Next, the login screen will open.  Log in to your Bitbucket account. </li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002955373/original/JyvaSoyh7cLNNti9lxODkLft-K38vnJ2Xg.png?1593716753\" class=\"fr-fic fr-dii fr-bordered\"></p><ul><li>A permission dialogue will open next.  Click \"Grant access\" to confirm. </li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002956125/original/MurWR-ktblKI0rB8yKr2BJcn02J09B5oxQ.png?1593719320\" class=\"fr-fic fr-dii fr-bordered\"></p><ul><li>You will then be able to connect a repository to your space. </li></ul><h1>How to connect a repository<ul><li>In order to attach a pull request to a task, you must first connect the repository to your team.</li><li>Click on the ellipses (three dots - the apps menu) in the upper right-hand corner of your space.  Select \"Bitbucket.\"</li><li>A dialogue will open.  Select \"Connect a repository\" then \"Connect repository.\"</li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002954901/original/2QzCUbLQFEON7Ro9AQReJwXmuXPFxmaixA.png?1593715309\" class=\"fr-fic fr-dii\"></p><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002955110/original/9HUVX7J-IEIPgZYKRblq-XpD7oRtZmm5vw.png?1593715905\" class=\"fr-fic fr-dii\"></p><ul><li>You'll then be directed to a new screen which will allow you to search your repositories.</li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002955151/original/OyXQ8842bGXA9FYDSS_PMBtZjPOx-ku8IA.png?1593716076\" class=\"fr-fic fr-dii fr-bordered\"></p><ul><li>Search for the repository that you wish to connect by entering its name into the search field.  Click on it when it appears in the search results.</li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002955160/original/OYdEP8rXiiYbVTRkytMpUAc0-LrYIJBIKQ.png?1593716116\" class=\"fr-fic fr-dii fr-bordered\"></p><ul><li>Once you connect a repository, it will be available in the initial \"Connect a repository\" dialogue in all spaces where the Bitbucket integration has been added.</li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002955187/original/zar_jxMXhvK2AtJMf52X4Jbdq-V5W5Xeug.png?1593716241\" class=\"fr-fic fr-dii\"></p></h1><h1>How to disconnect a repository</h1><ul><li>Click on the the apps menu (arrow in the upper right-hand corner of your space.  Select \"Bitbucket.\"</li><li>Click on the repository that you want to disconnect.</li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002955598/original/zNd7_6S1UJuNxuWTO8o2n3hzD6lG9K8XMA.png?1593717560\" class=\"fr-fic fr-dii fr-bordered\"></p><ul><li>Select \"Disconnect\".</li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002955625/original/OucixQLfIHLKsVBcUlrFO6dJqOKp9ht7IA.png?1593717621\" class=\"fr-fic fr-dii fr-bordered\"></p><p></p><ul><li>Click \"Yes\" to confirm.</li></ul><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002955797/original/3ydpT-wyV69wzmXLBitSXUVUIea6yhxmfA.png?1593718071\" class=\"fr-fic fr-dii\"><p></p><h1>How to add a Bitbucket pull request to a task</h1><ul><li>In the Workast web app, open the task details screen by clicking on your task.  </li><li>Click on the ellipses (three dots - the task menu) in the task header and select \"Attach Pull Request.\"</li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002957601/original/XjjLJ53NIqoLQJxJYQIunc-xDY2qJm5Ozg.png?1593724018\" class=\"fr-fic fr-dii fr-bordered\"></p><ul><li>A dialogue will open with a list of your connected repositories.  Choose the repository by clicking on it.  (If you only have one connected repository, this step may be bypassed.)</li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002955930/original/ARa77bVFGdfgTY31MLDZyb2WdtNIS67g9A.png?1593718624\" class=\"fr-fic fr-dii fr-bordered\"></p><ul><li>Once you select a repository, you'll be presented with a list of all the available pull requests.  Only open pull requests will be listed.</li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002956205/original/55LxdUhnQY_rQaQuJNtAwV6dC36M6LVfYg.png?1593719671\" class=\"fr-fic fr-dii fr-bordered\"></p><ul><li>Click on your pull request to attach it to the task.</li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002956288/original/OlC2ezWk0RzpHHqY_A8BcHAvmNPcTgolkg.png?1593719872\" class=\"fr-fic fr-dii fr-bordered\"></p><p><em>Quick note - if you click on a repository with no pull requests, you'll need to use close the dialogue by clicking on the X.</em></p><h1>Seeing the pull request results in your task</h1><ul><li>When a pull request is merged, the merge will be confirmed in your task:</li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002956553/original/XqiouwbbGohw5_Kb2RseFs1QLk8xdU5HkQ.png?1593720638\" class=\"fr-fic fr-dii fr-bordered\"></p><ul><li>When a pull request is declined, it will also be confirmed in your task:</li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002956544/original/SOy5aEPnADzQl9Upo9qH7rmjqVsrPkNwMA.png?1593720601\" class=\"fr-fic fr-dii fr-bordered\"></p><p><br></p>","description_text":" Attach your pull requests directly to tasks and see the review results with our Bitbucket extension.  How to add Bitbucket to a space  Open the space in the Workast web app where you'd like to add pull requests.  (You will need to add the bitbucket app to each space individually.  Click on the app menu (plus sign, or arrow if you have more than three apps/extensions) at the top of the space       Click on \"Manage extensions\"      This will open the extensions dialogue for the space.  You'll find the apps that are not added to your current space under the \"Add new extensions\" heading.  Find \"Bitbucket\" then click \"Add\" to add it to the space.           Authorizing Bitbucket   The first time you use Bitbucket in Workast, you'll need to log in to your account and authorize the app.  Click on the apps menu in the upper right-hand corner of your space.  Select \"Bitbucket.\"       If you see the Bitbucket icon in the top of your space, you can click that instead.      A dialogue will open.  Click \"Connect Bitbucket.\"      Next, the login screen will open.  Log in to your Bitbucket account.       A permission dialogue will open next.  Click \"Grant access\" to confirm.       You will then be able to connect a repository to your space.    How to connect a repository  In order to attach a pull request to a task, you must first connect the repository to your team.  Click on the ellipses (three dots - the apps menu) in the upper right-hand corner of your space.  Select \"Bitbucket.\"  A dialogue will open.  Select \"Connect a repository\" then \"Connect repository.\"        You'll then be directed to a new screen which will allow you to search your repositories.      Search for the repository that you wish to connect by entering its name into the search field.  Click on it when it appears in the search results.      Once you connect a repository, it will be available in the initial \"Connect a repository\" dialogue in all spaces where the Bitbucket integration has been added.      How to disconnect a repository   Click on the the apps menu (arrow in the upper right-hand corner of your space.  Select \"Bitbucket.\"  Click on the repository that you want to disconnect.      Select \"Disconnect\".       Click \"Yes\" to confirm.    How to add a Bitbucket pull request to a task   In the Workast web app, open the task details screen by clicking on your task.    Click on the ellipses (three dots - the task menu) in the task header and select \"Attach Pull Request.\"      A dialogue will open with a list of your connected repositories.  Choose the repository by clicking on it.  (If you only have one connected repository, this step may be bypassed.)      Once you select a repository, you'll be presented with a list of all the available pull requests.  Only open pull requests will be listed.      Click on your pull request to attach it to the task.     Quick note - if you click on a repository with no pull requests, you'll need to use close the dialogue by clicking on the X.  Seeing the pull request results in your task   When a pull request is merged, the merge will be confirmed in your task:      When a pull request is declined, it will also be confirmed in your task:       ","seo_data":{"meta_title":"Using the Bitbucket integration","meta_description":""},"tags":["apps","integrations","bitbucket","developer"],"attachments":[],"cloud_files":[],"thumbs_up":0,"thumbs_down":0,"hits":11,"feedback_count":0},"folderArticles":[{"id":61000165168,"type":1,"status":2,"agent_id":61001396131,"created_at":"2020-03-04T01:30:32Z","category_id":61000063757,"folder_id":61000093543,"title":"Using the Github Integration","updated_at":"2021-01-04T23:06:15Z","description":"Attach your pull requests directly to tasks and see the review results with our Github integration.<h2>How to add Github to a space</h2><ul><li>Click on the app button (square grid) in the top right-hand corner of your space.</li><li>Select \"Manage apps.\"</li><li>Click \"Install\" next to Github.</li><li>You will then be asked to give Workast permission to access Github  Follow the prompts on your screen and click \"Authorize\" to  allow  the integration.  (If you are signed in to multiple Workast  teams, you can scroll through  your different teams by clicking on the  arrow next to the team name. )</li></ul><img src=\"https://media.screensteps.com/image_assets/assets/002/215/669/original/f79c08b2-2fb2-4458-bf4a-1e4d84ec1332.png\"><ul><li>Once your account is connected, you are able to add Github to your space.</li><li>Click on the app button (square grid) in the top right-hand corner of your space again.</li><li>Select \"Manage apps.\"</li><li>Click on \"Add\" next to Github.  This will add Github to your space.</li></ul><h2>How to add a Github pull request to a task</h2><ul><li>In the Workast web app, make sure you are in the <strong>list view</strong> (not board or calendar view) then click on the task needing the pull request to maximize it.  </li><li>Under \"Apps\" next to the Github icon, select \"Attach pull request.\"</li><li>Click \"Connect Github\" to connect your Github account.   You can choose to either allow permission for only select repositories or for all repositories to be linked to Workast.</li><li>Click \"Approve and Install\" to complete connecting your Github account.</li><li>Click on \"Attach pull request\" next to the Github icon once again.</li><li>Your three most recent pull requests will appear - if you want to select one of those requests, click on the pull request to attach it.</li><li>If you want to add a different pull request, click on \"Browse by repository\" and use the arrow to search for the desired repository, and then click on the pull request to attach it to the task.</li></ul><h2>Seeing the pull request results in your task</h2><ul><li>When a pull request is merged, the merge will be confirmed in your task.</li></ul><img src=\"https://media.screensteps.com/image_assets/assets/002/215/715/original/550d68fa-5c31-4504-944f-639f837217f9.png\"><ul><li>When a pull request is declined, the decline will be shown in your task.</li></ul><img src=\"https://media.screensteps.com/image_assets/assets/002/215/717/original/e7838c97-7869-4a56-b499-4bb327e9df13.png\">","description_text":"Attach your pull requests directly to tasks and see the review results with our Github integration. How to add Github to a space   Click on the app button (square grid) in the top right-hand corner of your space.  Select \"Manage apps.\"  Click \"Install\" next to Github.  You will then be asked to give Workast permission to access Github  Follow the prompts on your screen and click \"Authorize\" to  allow  the integration.  (If you are signed in to multiple Workast  teams, you can scroll through  your different teams by clicking on the  arrow next to the team name. )    Once your account is connected, you are able to add Github to your space.  Click on the app button (square grid) in the top right-hand corner of your space again.  Select \"Manage apps.\"  Click on \"Add\" next to Github.  This will add Github to your space.   How to add a Github pull request to a task   In the Workast web app, make sure you are in the list view (not board or calendar view) then click on the task needing the pull request to maximize it.    Under \"Apps\" next to the Github icon, select \"Attach pull request.\"  Click \"Connect Github\" to connect your Github account.   You can choose to either allow permission for only select repositories or for all repositories to be linked to Workast.  Click \"Approve and Install\" to complete connecting your Github account.  Click on \"Attach pull request\" next to the Github icon once again.  Your three most recent pull requests will appear - if you want to select one of those requests, click on the pull request to attach it.  If you want to add a different pull request, click on \"Browse by repository\" and use the arrow to search for the desired repository, and then click on the pull request to attach it to the task.   Seeing the pull request results in your task   When a pull request is merged, the merge will be confirmed in your task.    When a pull request is declined, the decline will be shown in your task.  ","seo_data":{"meta_title":"How to add the Github Integration to a Space","meta_description":"Add Github to a Workast Space so that you can see pull requests on a task. "},"tags":["github","extensions","apps","integrations"],"attachments":[],"cloud_files":[],"thumbs_up":0,"thumbs_down":0,"hits":11,"feedback_count":0},{"id":61000165169,"type":1,"status":2,"agent_id":61003830981,"created_at":"2020-03-04T01:30:32Z","category_id":61000063757,"folder_id":61000093543,"title":"Using the Bitbucket extension","updated_at":"2021-01-08T00:31:49Z","description":"<p>Attach your pull requests directly to tasks and see the review results with our Bitbucket extension.</p><h1>How to add Bitbucket to a space<ul><li>Open the space in the Workast web app where you'd like to add pull requests.  <em>(You will need to add the bitbucket app to each space individually.</em></li><li>Click on the app menu (plus sign, or arrow if you have more than three apps/extensions) at the top of the space </li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61008178242/original/xAxSWZIFaBbnRfnDAtF-rSSGEmzcJ4pOBA.png?1607992210\" class=\"fr-fic fr-dii fr-bordered\"></p><ul><li>Click on \"Manage extensions\"</li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61008178499/original/UiQtSYS2Ha-yOYPwYiCg5CeVDHfj0rnczw.png?1607993029\" class=\"fr-fic fr-dii fr-bordered\"></p><ul><li>This will open the extensions dialogue for the space.  You'll find the apps that are not added to your current space under the \"Add new extensions\" heading.  Find \"Bitbucket\" then click \"Add\" to add it to the space.  </li></ul><p><br></p><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61008178801/original/CSTfU2DgT4C8CwAe2phrmlxUkKVmNROj3A.png?1607994050\" class=\"fr-fic fr-dii fr-bordered\"></p></h1><h1>Authorizing Bitbucket</h1><ul><li>The first time you use Bitbucket in Workast, you'll need to log in to your account and authorize the app.</li><li>Click on the apps menu in the upper right-hand corner of your space.  Select \"Bitbucket.\" </li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61008178827/original/OLZywNYICFtYSEQG41cr-g44VN4CEeig5g.png?1607994133\" class=\"fr-fic fr-dii fr-bordered\"></p><ul><li><span style='color: rgb(0, 0, 0); font-family: -apple-system, system-ui, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif; font-size: 13px; font-weight: 400; text-align: left; text-indent: 0px; display: inline !important;'>If you see the Bitbucket icon in the top of your space, you can click that instead.</span></li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61008178842/original/w5Ml3rs3FBFIwJXwPcMoEXwwtpuwltrY1w.png?1607994201\" class=\"fr-fic fr-dii fr-bordered\"></p><ul><li>A dialogue will open.  Click \"Connect Bitbucket.\"</li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002953977/original/2RCTmD2TC0I3P0FsGZgCfH9sCfLEcUnlXg.png?1593712868\" class=\"fr-fic fr-dii\"></p><ul><li>Next, the login screen will open.  Log in to your Bitbucket account. </li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002955373/original/JyvaSoyh7cLNNti9lxODkLft-K38vnJ2Xg.png?1593716753\" class=\"fr-fic fr-dii fr-bordered\"></p><ul><li>A permission dialogue will open next.  Click \"Grant access\" to confirm. </li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002956125/original/MurWR-ktblKI0rB8yKr2BJcn02J09B5oxQ.png?1593719320\" class=\"fr-fic fr-dii fr-bordered\"></p><ul><li>You will then be able to connect a repository to your space. </li></ul><h1>How to connect a repository<ul><li>In order to attach a pull request to a task, you must first connect the repository to your team.</li><li>Click on the ellipses (three dots - the apps menu) in the upper right-hand corner of your space.  Select \"Bitbucket.\"</li><li>A dialogue will open.  Select \"Connect a repository\" then \"Connect repository.\"</li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002954901/original/2QzCUbLQFEON7Ro9AQReJwXmuXPFxmaixA.png?1593715309\" class=\"fr-fic fr-dii\"></p><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002955110/original/9HUVX7J-IEIPgZYKRblq-XpD7oRtZmm5vw.png?1593715905\" class=\"fr-fic fr-dii\"></p><ul><li>You'll then be directed to a new screen which will allow you to search your repositories.</li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002955151/original/OyXQ8842bGXA9FYDSS_PMBtZjPOx-ku8IA.png?1593716076\" class=\"fr-fic fr-dii fr-bordered\"></p><ul><li>Search for the repository that you wish to connect by entering its name into the search field.  Click on it when it appears in the search results.</li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002955160/original/OYdEP8rXiiYbVTRkytMpUAc0-LrYIJBIKQ.png?1593716116\" class=\"fr-fic fr-dii fr-bordered\"></p><ul><li>Once you connect a repository, it will be available in the initial \"Connect a repository\" dialogue in all spaces where the Bitbucket integration has been added.</li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002955187/original/zar_jxMXhvK2AtJMf52X4Jbdq-V5W5Xeug.png?1593716241\" class=\"fr-fic fr-dii\"></p></h1><h1>How to disconnect a repository</h1><ul><li>Click on the the apps menu (arrow in the upper right-hand corner of your space.  Select \"Bitbucket.\"</li><li>Click on the repository that you want to disconnect.</li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002955598/original/zNd7_6S1UJuNxuWTO8o2n3hzD6lG9K8XMA.png?1593717560\" class=\"fr-fic fr-dii fr-bordered\"></p><ul><li>Select \"Disconnect\".</li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002955625/original/OucixQLfIHLKsVBcUlrFO6dJqOKp9ht7IA.png?1593717621\" class=\"fr-fic fr-dii fr-bordered\"></p><p></p><ul><li>Click \"Yes\" to confirm.</li></ul><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002955797/original/3ydpT-wyV69wzmXLBitSXUVUIea6yhxmfA.png?1593718071\" class=\"fr-fic fr-dii\"><p></p><h1>How to add a Bitbucket pull request to a task</h1><ul><li>In the Workast web app, open the task details screen by clicking on your task.  </li><li>Click on the ellipses (three dots - the task menu) in the task header and select \"Attach Pull Request.\"</li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002957601/original/XjjLJ53NIqoLQJxJYQIunc-xDY2qJm5Ozg.png?1593724018\" class=\"fr-fic fr-dii fr-bordered\"></p><ul><li>A dialogue will open with a list of your connected repositories.  Choose the repository by clicking on it.  (If you only have one connected repository, this step may be bypassed.)</li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002955930/original/ARa77bVFGdfgTY31MLDZyb2WdtNIS67g9A.png?1593718624\" class=\"fr-fic fr-dii fr-bordered\"></p><ul><li>Once you select a repository, you'll be presented with a list of all the available pull requests.  Only open pull requests will be listed.</li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002956205/original/55LxdUhnQY_rQaQuJNtAwV6dC36M6LVfYg.png?1593719671\" class=\"fr-fic fr-dii fr-bordered\"></p><ul><li>Click on your pull request to attach it to the task.</li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002956288/original/OlC2ezWk0RzpHHqY_A8BcHAvmNPcTgolkg.png?1593719872\" class=\"fr-fic fr-dii fr-bordered\"></p><p><em>Quick note - if you click on a repository with no pull requests, you'll need to use close the dialogue by clicking on the X.</em></p><h1>Seeing the pull request results in your task</h1><ul><li>When a pull request is merged, the merge will be confirmed in your task:</li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002956553/original/XqiouwbbGohw5_Kb2RseFs1QLk8xdU5HkQ.png?1593720638\" class=\"fr-fic fr-dii fr-bordered\"></p><ul><li>When a pull request is declined, it will also be confirmed in your task:</li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002956544/original/SOy5aEPnADzQl9Upo9qH7rmjqVsrPkNwMA.png?1593720601\" class=\"fr-fic fr-dii fr-bordered\"></p><p><br></p>","description_text":" Attach your pull requests directly to tasks and see the review results with our Bitbucket extension.  How to add Bitbucket to a space  Open the space in the Workast web app where you'd like to add pull requests.  (You will need to add the bitbucket app to each space individually.  Click on the app menu (plus sign, or arrow if you have more than three apps/extensions) at the top of the space       Click on \"Manage extensions\"      This will open the extensions dialogue for the space.  You'll find the apps that are not added to your current space under the \"Add new extensions\" heading.  Find \"Bitbucket\" then click \"Add\" to add it to the space.           Authorizing Bitbucket   The first time you use Bitbucket in Workast, you'll need to log in to your account and authorize the app.  Click on the apps menu in the upper right-hand corner of your space.  Select \"Bitbucket.\"       If you see the Bitbucket icon in the top of your space, you can click that instead.      A dialogue will open.  Click \"Connect Bitbucket.\"      Next, the login screen will open.  Log in to your Bitbucket account.       A permission dialogue will open next.  Click \"Grant access\" to confirm.       You will then be able to connect a repository to your space.    How to connect a repository  In order to attach a pull request to a task, you must first connect the repository to your team.  Click on the ellipses (three dots - the apps menu) in the upper right-hand corner of your space.  Select \"Bitbucket.\"  A dialogue will open.  Select \"Connect a repository\" then \"Connect repository.\"        You'll then be directed to a new screen which will allow you to search your repositories.      Search for the repository that you wish to connect by entering its name into the search field.  Click on it when it appears in the search results.      Once you connect a repository, it will be available in the initial \"Connect a repository\" dialogue in all spaces where the Bitbucket integration has been added.      How to disconnect a repository   Click on the the apps menu (arrow in the upper right-hand corner of your space.  Select \"Bitbucket.\"  Click on the repository that you want to disconnect.      Select \"Disconnect\".       Click \"Yes\" to confirm.    How to add a Bitbucket pull request to a task   In the Workast web app, open the task details screen by clicking on your task.    Click on the ellipses (three dots - the task menu) in the task header and select \"Attach Pull Request.\"      A dialogue will open with a list of your connected repositories.  Choose the repository by clicking on it.  (If you only have one connected repository, this step may be bypassed.)      Once you select a repository, you'll be presented with a list of all the available pull requests.  Only open pull requests will be listed.      Click on your pull request to attach it to the task.     Quick note - if you click on a repository with no pull requests, you'll need to use close the dialogue by clicking on the X.  Seeing the pull request results in your task   When a pull request is merged, the merge will be confirmed in your task:      When a pull request is declined, it will also be confirmed in your task:       ","seo_data":{"meta_title":"Using the Bitbucket integration","meta_description":""},"tags":["apps","integrations","bitbucket","developer"],"attachments":[],"cloud_files":[],"thumbs_up":0,"thumbs_down":0,"hits":11,"feedback_count":0},{"id":61000165177,"type":1,"status":2,"agent_id":61001167161,"created_at":"2020-03-04T01:30:34Z","category_id":61000063757,"folder_id":61000093543,"title":"Incoming Webhooks","updated_at":"2021-01-04T23:08:38Z","description":"Incoming Webhooks are a simple way to create tasks inside Workast from external sources. They make use of normal HTTP requests with a <a href=\"https://en.wikipedia.org/wiki/JSON\">JSON</a> payload that includes the task text and some additional details. <h2><strong>The Incoming Webhooks app</strong></h2>To get started, you need to add the Incoming Webhooks application to the space where you want to be creating tasks. Click on ellipses (three dots) in the top right corner of the space and then on \"Manage apps\" from the menu.   Scroll down, and select \"Add\" next to \"Incoming Webhooks.\"   Click the X in the top right-hand corner to return to your space. <p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002762964/original/duOGzNubLnfkZY1605h5yDeQlpcD6-rVng.gif?1593111357\"></p> <p><strong></strong></p><strong>Creating a Webhook URL</strong><ul><li>Click on either the webhook icon or the ellipses (three dots) in the top right corner of you app and select and select \"Incoming Webhooks.\"  </li><li>A dialogue box will open.  Select \"Create new webhook.\" </li><li>Give a name to your webhook URL and click on Create</li><li>A new dialog will show up with your webhook details. From here, copy the webhook URL that was recently created (<a href=\"https://hooks.workast.app/.\">https://hooks.workast.app/.</a>.)  <strong>NOTE:</strong> <strong>Keep this URL safe</strong>. Anyone that has access to the URL will be able to create tasks in your Space.</li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002763197/original/aSxRZ3zJfr7QZH3pFsYI_FW9y0HYeIE-ig.gif?1593112134\"></p>  <p><strong></strong></p><strong>Creating your first task</strong>The Webhook URL accepts the HTTP POST method with the header Content-Type: application/json with the task details as JSON body.<br>If you are familiar with <a href=\"https://curl.haxx.se/\">curl</a>, you can try to create a task right away <code>curl -XPOST -H \"Content-type: application/json\" -d '{\"text\": \"A task from the new webhook URL\"}' 'https://hooks.workast.app/your-token'</code> <p><strong></strong></p><strong>More than just text</strong>You can add a description, assign the task, set a start date and a due date. Here is the full payload that is accepted by the Webhook URL.<pre>{\n  \"text\": \"string\",\n  \"description\": \"string\",\n  \"assignedTo\": [\n    \"USERID\"\n  ],\n  \"assignedToEmail\": [\n    \"user@email\"\n  ],\n  \"startDate\": \"2019-03-20\",\n  \"dueDate\": \"2019-03-20\",\n  \"subListId\": \"5a9cf7219285...\" // The list ID within the space\n} </pre><strong>Please note:</strong> dates should be in UTC","description_text":"Incoming Webhooks are a simple way to create tasks inside Workast from external sources. They make use of normal HTTP requests with a JSON payload that includes the task text and some additional details.  The Incoming Webhooks app To get started, you need to add the Incoming Webhooks application to the space where you want to be creating tasks. Click on ellipses (three dots) in the top right corner of the space and then on \"Manage apps\" from the menu.   Scroll down, and select \"Add\" next to \"Incoming Webhooks.\"   Click the X in the top right-hand corner to return to your space.      Creating a Webhook URL  Click on either the webhook icon or the ellipses (three dots) in the top right corner of you app and select and select \"Incoming Webhooks.\"    A dialogue box will open.  Select \"Create new webhook.\"   Give a name to your webhook URL and click on Create  A new dialog will show up with your webhook details. From here, copy the webhook URL that was recently created (https://hooks.workast.app/..)  NOTE: Keep this URL safe. Anyone that has access to the URL will be able to create tasks in your Space.        Creating your first taskThe Webhook URL accepts the HTTP POST method with the header Content-Type: application/json with the task details as JSON body. If you are familiar with curl, you can try to create a task right away curl -XPOST -H \"Content-type: application/json\" -d '{\"text\": \"A task from the new webhook URL\"}' 'https://hooks.workast.app/your-token'   More than just textYou can add a description, assign the task, set a start date and a due date. Here is the full payload that is accepted by the Webhook URL. {\n  \"text\": \"string\",\n  \"description\": \"string\",\n  \"assignedTo\": [\n    \"USERID\"\n  ],\n  \"assignedToEmail\": [\n    \"user@email\"\n  ],\n  \"startDate\": \"2019-03-20\",\n  \"dueDate\": \"2019-03-20\",\n  \"subListId\": \"5a9cf7219285...\" // The list ID within the space\n}  Please note: dates should be in UTC","seo_data":{"meta_title":"","meta_description":""},"tags":["webhooks"],"attachments":[],"cloud_files":[],"thumbs_up":5,"thumbs_down":0,"hits":17,"feedback_count":0},{"id":61000165235,"type":1,"status":2,"agent_id":61003830981,"created_at":"2020-03-04T01:30:48Z","category_id":61000063757,"folder_id":61000093543,"title":"How to generate an API token","updated_at":"2021-01-04T23:08:38Z","description":"<p>To generate an API token:</p><ul><li><a href=\"https://my.workast.io\" target=\"_blank\">Log into </a>the web app.</li></ul><ul><li>Click on the arrow next to your name in the top left corner.  Select \"Preferences.\"</li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002760282/original/jk0zCaHmbgv-8zMFAh8Oxnsmu8RHQe6Fpg.png?1593103333\"></p><ul><li>Your preferences screen will open.  Scroll down to \"API Token.\"</li></ul><p><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002761198/original/4NBcsqftSsvVf1iI9knPM8Ff55OPdDZHLw.png?1593105653\"></p><ul><li>Click \"Generate Token.\"  Select and copy the provided token.  Click \"Done\" to close the panel.</li></ul><ul><li>You can then use the token to interact with the API at <a href=\"https://developers.workast.com\">https://developers.workast.com</a></li></ul><img src=\"https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61002761243/original/65kvYyCrhX-PuuePmACJrOxsiBQygI7KaQ.gif?1593105790\">Looking for more developer tools? Check out our <a href=\"https://www.workast.com/help/articles/61000165169\" target=\"_blank\">Bitbucket</a> and <a href=\"https://www.workast.com/help/articles/61000165168\" target=\"_blank\">Github</a> integrations! <br>","description_text":" To generate an API token:   Log into the web app.    Click on the arrow next to your name in the top left corner.  Select \"Preferences.\"      Your preferences screen will open.  Scroll down to \"API Token.\"      Click \"Generate Token.\"  Select and copy the provided token.  Click \"Done\" to close the panel.    You can then use the token to interact with the API at https://developers.workast.com  Looking for more developer tools? Check out our Bitbucket and Github integrations!  ","seo_data":{"meta_title":"","meta_description":""},"tags":["API"],"attachments":[],"cloud_files":[],"thumbs_up":0,"thumbs_down":0,"hits":4,"feedback_count":0}],"category":{"id":61000063757,"name":"Extensions","description":null,"created_at":"2020-02-27T22:50:16Z","updated_at":"2020-12-09T19:40:41Z"},"folder":{"id":61000093543,"name":"Developer extensions","description":"Development extensions such as Bitbucket and how to generate API tokens","visibility":1,"created_at":"2020-02-27T22:50:16Z","updated_at":"2020-12-11T00:30:26Z"}}}}