Friday, March 22, 2013

Oracle Team Productivity Center & Jira (part 2 )

i described how to deal with the tasks and the same concept can applied to Jira .
Now i will add Task in JDeveloper  to reflect in Jira
  • Open Jira
  • Two tasks only here
    • Log in to OTPC
    • Right click on Jira Repository ==>> New Issue
      • Enter details to the task
      • Save the task 
      • Back to Jira , the new task here
      • Go to the Task in JDeveloper
      • Press Comment button
      • Write some thing like Done
      • Press Save 
      • Back to the task 
      • Press Close issue 
      • Back again to Jira
      • What do you see? 





      good luck

      Oracle Team Productivity Center & Task


      Oracle offer local task repository if you don't like to work with other programs like  Microsoft Project,Bugzilla or Jira  
      How we can deal with local Task Repository ? See below 
      • Install Task Connector if you didnt install it before
       
      Defining task repository and adding it to DevTeam
      • Connect to OPTC as administrator (otpcadmin/welcome1)
      • Go to Repositories tab
      • Click green button to add new repository
      •  Enter Task Repository for Name
      • Go to Teams tab ==>>Team Repository
      • Check Task Repository
      • Discount from OTPC
      • Connect as normal user (wael/wael)
      • Observe Task Repository under Work Items menu
       We will add a new task
      • Right click on Task Repository
      • Choose New Task
       

      Enter Adding logo to Login page to Task Name
      Enter Adding logo to Login page for Description

      • Click the search icon next to Assign to
      • Click the search button
      • Assign the task to Saleh  
      • Click save
      Searching for the tasks assigned to Saleh
      • Disconnect from OTPC
      • Connect as saleh/saleh
      • Right click on Task Repository ==>> Query By ID
      • Enter 1
      • The Result

      Another way to search for tasks
      • Right click on Task Repository ==>> New Query
      • Click on the search button
      • Choose Assigned to from the list in Search criteria area
      • Choose Saleh from the list
      • Click Save button
      • Enter My Tasks for Name
      • The Result 
      • At any time you can run My Tasks to know the tasks assigned to you




      good luck

      Sunday, March 17, 2013

      Oracle Team Productivity Center & SubVersion


      How we can connect subversion and OPTC ? that's what we'll talk about today

      first we need subversion server , i will use VisualSVN server (evaluation copy) for our demo to explain concept  , you can use what you like or choose free one ( VisualSVN is not free )

      After installation , run server 


      - Right click on Repositories 
      - Choose create New repository

       

      - Enter AdfRepository for name
       

      - Right click on AdfRepository  
      - Choose Project Structure 


      - Enter Finance for project name 




      because we use evaluation copy we will create user , with Enterprise Edition you can connect to active dirctory , or you can choose to use free subversion 
      see Comparison of Subversion clients

      - Go to Users ==>> right click and choose create user 
        say user name : waelSVN  , password : 123


        - Now open Jdeveloper , 
        - Connect to OPTC 
        - Login as optcadmin/welcome1


      - Go to Team Administration


      - Go to Repositories tab ==>> Versioning 
      - Click on green button 
      - Choose Subversion from connector list 
      - Enter AdfRepository for Name 


      - Go to Teams tab ==>> Team Repositories
      - Check AdfRepository

         
      - Back to Subversion Server 
      - Copy URL for Repository

          
      - Past value in server url 


      - Log out and log in again as wael/wael  
      - Double click on AdfRepository 
      - Enter user name and password for Subversion User (waelSVN/123)
      - Test connection  

        
      - Your screen should be like following picture 


      - Right click on AdfRepository  
      - Choose New Remote Directory


      - Enter Hr for name  

       

       - We can see change in JDeveloper 


      - And in Subversion server 



      more about subversion :
       



      good luck 

      Saturday, March 16, 2013

      Oracle Team Productivity Center & Jira (part1)


      Today we will talk about OTPC and Jira , just download Jira and install it .


       - Jira is ready now and we defined project called ADF_Project 


      - Click on create issue


      - Change issue type to Task 
      - Add description to task 
      - Scroll down and press create to create Task

        

      - Now start WebLogic 
      - Start Jdeveloper 
      - Connect to OTPC (user : otpcadmin  pass:welcome1)


      - Choose Team Adminstrtion


      - Go to Repositories tab ==>> work item 
      - Click green button to add new repository

              
       - Try to change connector List,oppps there is no Jira connector 
          we need to Add it now 


      To install Jira connector  :
      - run installer of OPTC as described before how-to-install-oracle-team-productivity


      - Choose Connectors only 


      - Enter user name and password for DB user  (otpc1/otpc) 
      - Test connection


      - Choose WebLogic for Application Server Type
      - Enter location of autoDeploy folder in Application Server


      - Choose install from local file 
      - Add location to Jira connector


      - Press Install


      Back to JDeveloper again
      - Login as otpcadmin / welcome1 
      - Go to Repositories tab
      - Add new work item
      - Choose Jira from connector list 
      - Add name for repository, repository server ,  repository url 


      - Go to Teams tab , Team Repositories, 
      - Check Jira Repository to add it to DevTeam


      - Log out from OTPC 
      - Log in again as normal user like wael/wael


      Notice :Jira Repository under Work Items Menu

      - Double click on Jira Repository
      - The following error message will be shown
      - Click on Yes Button

      - Enter user name and password for Jira user 
         (you need to add wael in Jira user)
      - Test Connection

       

      - Jira Repository is ready now




      good luck