The 30-year-old, who was present at the special screening of his film 'Yeh Jawaani Hai Deewani', confirmed the news.
Letting out that he is playing a detective in 'Jagga Jasoos', Ranbir said, "Yes, this is our second film together. It's a detective film."
The film is set to go on the floors next year. Basu has also written the film.
Besides, the actor has two more films with Basu - 'Bombay Velvet' and a biopic on late legendary singer-composer Kishore Kumar. But the biopic has been shelved for sometime.
In a very short time Ranbir has impressed with his acting skills and he gives credit to his late legednary grandfather Raj Kapoor for his success.
"I am standing here just because of Raj Kapoor. He showed me the way," said Ranbir when asked to share some memory of Raj Kapoor, whose 25th death anniversary falls on June 2.
Raj Kapoor, known as the Showman of Indian cinema, proved his mettle with his work in 'Awara', 'Shree 420' and 'Mera Naam Joker'. The winner of two National Awards, nine Filmfare awards and many other recognitions, he gave a strong base to the Indian cinema.
He died on June 2 in 1988.
"I hope he would be smiling at me watching me in the films that I am doing and he is proud of me," said Ranbir, who has carved a niche for himself in his five-year-old career with films like 'Raajneeti', 'Wake Up Sid!' and 'Rockstar' among others.